Commit Graph

2348 Commits

Author SHA1 Message Date
Olivier Dony 3a81cf88f8 [IMP] Improve view validation to based on fields_view_get rendering, not just raw arch
This will allow improved validation of inherited
views, which is not possible when only the raw
arch is validated on its own - without context 
many things cannot be verified.
Calling fields_view_get() also catches early all
mistakes that require dynamic validation, like
wrong XPath expressions (parent view contains
no match).
In order to have current addons pass the improved
validation the RNG had to be fixed to support
the new @modifiers attribute added by fields_view_get()
itself on many view elements, and a few missing
valid attributes, like @invisible on <filter>
and <group>. The latter had never been used
as part of the view architecture but appear
as a result of the handling of @groups
restrictions on view elements, and must
be allowed by the RNG schema.

bzr revid: odo@openerp.com-20120614144633-31c642s7q7f28o6b
2012-06-14 16:46:33 +02:00
Fabien Pinckaers 940cf37e4f [IMP] When you configure OpenERP, you need a full control on how to display the footer and bank accounts
bzr revid: fp@tinyerp.com-20120612171753-rhp9iq8y2c53puhe
2012-06-12 19:17:53 +02:00
Fabien Pinckaers f1716c0e35 [IMP] improved comment TODO
bzr revid: fp@tinyerp.com-20120612171459-74dh9ik7yju2mum5
2012-06-12 19:14:59 +02:00
Raphael Collet d4bfc8df5b [IMP] module: rename field 'image' to 'icon_image' (leaving 'image' for other kinds of module images)
bzr revid: rco@openerp.com-20120612091041-fpamk1r8b4e42k9v
2012-06-12 11:10:41 +02:00
Raphael Collet fc7f6da6de [FIX] module form view: fix field label
bzr revid: rco@openerp.com-20120612090513-sl8v5io7lzk3ubts
2012-06-12 11:05:13 +02:00
Raphael Collet b9cff8ac28 [MERGE] from trunk
bzr revid: rco@openerp.com-20120612085325-aqpysyfp7e202r44
2012-06-12 10:53:25 +02:00
Olivier Dony 31b9bee006 [IMP] orm: improved @version spec validation for inherited views
bzr revid: odo@openerp.com-20120611173132-3ioptod9jwxttopc
2012-06-11 19:31:32 +02:00
Olivier Dony 2126f83a35 [IMP] modules, ir.ui.view: improve view validation + avoid validation errors during updates
As of 7.0, RNG validation is not possible for form views
that have a version attribute equal to "7.0", due to the
allowed usage of HTML syntax mixed with the regular OpenERP
view syntax. RNG validation is still enabled for regular
form views (@version missing or less than "7.0"), and for
all other views types.
Validation of 7.0 form views should be improved with the
addition of an assertion-based schema, still to be done.
 
The above is also complemented with an explicit call to fields_view_get()
during view installation, in order to immediately verify
that the updated view hierarchy does not cause any
issue when loaded along with its related views (i.e
parent and siblings, for inheriting views).
In addition to that, fields_view_get() will now only
consider loading views that belong to modules that have
already been loaded. This avoids a lot of validation errors
during a module update operation, which runs on top of
an existing database with all previous views visible,
even those whose module is not loaded yet.

bzr revid: odo@openerp.com-20120611122758-qcw9xdhupl24busq
2012-06-11 14:27:58 +02:00
Olivier Dony 5fd5165c20 [REVERT] db: revert incorrect change to auto_install logic
The auto_install flag means that the module will be automatically
installed as soon as all its dependencies are satisfied.
It does *not* mean that the module will be automatically installed
upon database creation. It can be used for that purpose by
setting it on a module that has no dependencies however.

bzr revid: odo@openerp.com-20120611103653-l7x0xxdqo4wixjvl
2012-06-11 12:36:53 +02:00
Fabien Pinckaers ca2e0deff5 [MERGE] cleaning all form views
bzr revid: fp@tinyerp.com-20120611100052-e2u8augm7kkc0uyr
2012-06-11 12:00:52 +02:00
Fabien Pinckaers 84fe3e7ba6 temporarily removing checks
bzr revid: fp@tinyerp.com-20120611091031-sfear1x3c574tvpw
2012-06-11 11:10:31 +02:00
niv-openerp 2b2ecf9aae merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20120611090549-y4um978338d22bvn
2012-06-11 11:05:49 +02:00
Fabien Pinckaers fc3873e131 [IMP] views
bzr revid: fp@tinyerp.com-20120611090248-oechaas8kntaqzqf
2012-06-11 11:02:48 +02:00
Fabien Pinckaers 9901961a2f fix
bzr revid: fp@tinyerp.com-20120610120614-oe3plgxr1364um0q
2012-06-10 14:06:14 +02:00
Fabien Pinckaers 7d89afe7bc fix
bzr revid: fp@tinyerp.com-20120610104338-spr8hfo74z2vy0nj
2012-06-10 12:43:38 +02:00
Fabien Pinckaers b1ab584317 [merge] trunk
bzr revid: fp@tinyerp.com-20120610081834-lwt8ffvniuxddn3c
2012-06-10 10:18:34 +02:00
Launchpad Translations on behalf of openerp 4dcc28c2c9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120608043934-em2lsbdmii9h008h
bzr revid: launchpad_translations_on_behalf_of_openerp-20120609053847-swqhr56rkn08wy76
bzr revid: launchpad_translations_on_behalf_of_openerp-20120610043658-zp9mib8m2afz35w4
2012-06-10 04:36:58 +00:00
Fabien Pinckaers 5a96dad7f8 imp
bzr revid: fp@tinyerp.com-20120609233549-b5z7os4dcydz7d0f
2012-06-10 01:35:49 +02:00
Fabien Pinckaers 56288e88dc [IMP] removing select=? and adding version=7
bzr revid: fp@tinyerp.com-20120609124045-sbopsbiiffcnjzfv
2012-06-09 14:40:45 +02:00
Olivier Dony 484cf746a5 [FIX] orm: remove unused `module` parameter when creating constraints
This argument was not always present in the context
(e.g when _auto_init is invoked for newly created
custom fields via ir.model.field.create()), and was
thus preventing the creation of custom fields.
It was currently unused, and may be reintroduced
soon after the cleanup of model metadata storage.

bzr revid: odo@openerp.com-20120606141908-bdqxsarfb61yfw8m
2012-06-06 16:19:08 +02:00
Launchpad Translations on behalf of openerp 6843f125fc Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120606043653-bgc18qhud2ekjvi7
2012-06-06 04:36:53 +00:00
Christophe Simonis 240943961e [IMP] log exceptions in safe_eval
bzr revid: chs@openerp.com-20120605152630-d4flr4c3mwl7wnvx
2012-06-05 17:26:30 +02:00
Purnendu Singh (OpenERP) 19c407757c [MERGE] merge with main server
bzr revid: psi@tinyerp.com-20120605132714-ygbptgy496j4t6f3
2012-06-05 18:57:14 +05:30
Purnendu Singh (OpenERP) 4ca984c8cf [IMP] module: set image field to the right in form view of module
bzr revid: psi@tinyerp.com-20120605131403-g5hi59os509hk4dh
2012-06-05 18:44:03 +05:30
Purnendu Singh (OpenERP) 472f55f546 [IMP] module: add one more binary field to get the module image in form view
bzr revid: psi@tinyerp.com-20120605131152-0cd9hl7ek9dxg27e
2012-06-05 18:41:52 +05:30
Amit Patel (OpenERP) 31f5c72b71 [IMP]:solved inheritance problem for mail module.
bzr revid: apa@tinyerp.com-20120605085437-4skkblq6e803trii
2012-06-05 14:24:37 +05:30
Amit Patel (OpenERP) 6b2c572b0c [IMP]:solved inheritance problem for mail module.
bzr revid: apa@tinyerp.com-20120605073141-igfgc7l1tg0484dh
2012-06-05 13:01:41 +05:30
Fabien Pinckaers 51d8cfae05 [IMP] new form guidelines
bzr revid: fp@tinyerp.com-20120604213212-bxajvchyzwqvisix
2012-06-04 23:32:12 +02:00
Fabien Pinckaers 1ff3352c79 [IMP] merging vmt improvements rng
bzr revid: fp@tinyerp.com-20120604183209-0gszmur74yck4smr
2012-06-04 20:32:09 +02:00
Fabien Pinckaers f83ba4af41 [IMP] reviewed form views following new guidelines
bzr revid: fp@tinyerp.com-20120604183055-3adtk8dtech30amm
2012-06-04 20:30:55 +02:00
Vo Minh Thu d2252dba05 [IMP] rng validation: remove call to rng validation, replace it with calls to fields_view_get.
bzr revid: vmt@openerp.com-20120604160124-uz4q4aim6sl9wckm
2012-06-04 18:01:24 +02:00
Amit Patel (OpenERP) e77bebd888 [MERGE]
bzr revid: apa@tinyerp.com-20120531112635-xn9x7o4y1j3hj3k4
bzr revid: apa@tinyerp.com-20120604121221-fvsc35dcksknc64n
2012-06-04 17:42:21 +05:30
niv-openerp 53087f5639 Customized partner view to have a cool kanban view
bzr revid: nicolas.vanhoren@openerp.com-20120604093011-v9jl101arwk17h4i
2012-06-04 11:30:11 +02:00
Launchpad Translations on behalf of openerp 1c289b7782 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120601053238-c8jrur53uw553g4m
bzr revid: launchpad_translations_on_behalf_of_openerp-20120602053451-dwgtz84uikn0xsir
bzr revid: launchpad_translations_on_behalf_of_openerp-20120603044657-6moyqooyxoggffss
2012-06-03 04:46:57 +00:00
Purnendu Singh (OpenERP) 644b5027ac [IMP] set the module image to the right in form view
bzr revid: psi@tinyerp.com-20120601084644-46d8icy7qarshsid
2012-06-01 14:16:44 +05:30
Amit Patel (OpenERP) 9a91b949d3 [MERGE]:lp:~openerp-commiter/openobject-server/trunk-add-placeholder-apa-partner-hsa
bzr revid: apa@tinyerp.com-20120531112547-j1qb5jbum69cohf9
2012-05-31 16:55:47 +05:30
Amit Patel (OpenERP) fd8248fee4 [MERGE]:lp:~openerp-commiter/openobject-server/trunk-add-placeholder-apa-company-ram
bzr revid: apa@tinyerp.com-20120531112217-vj8cmt9ywuk85973
2012-05-31 16:52:17 +05:30
Fabien Pinckaers a621d08eb7 [IMP] improved terminology
bzr revid: fp@tinyerp.com-20120531071134-1wzdffzogyxfdqr9
2012-05-31 09:11:34 +02:00
Fabien Pinckaers 2d86798e24 [IMP] search view on partners
bzr revid: fp@tinyerp.com-20120531070716-39zkfaw5nn5kqqv5
2012-05-31 09:07:16 +02:00
Launchpad Translations on behalf of openerp f1c7d8c5d5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120531045416-gatrlcj5iap0ffv3
2012-05-31 04:54:16 +00:00
Raphael Collet 7497830316 [IMP] improve English in tooltip
bzr revid: rco@openerp.com-20120530101526-soq35h7qmj2lnoy1
2012-05-30 12:15:26 +02:00
Launchpad Translations on behalf of openerp 41abe40040 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120526050444-1fby7m0ctptv1pow
bzr revid: launchpad_translations_on_behalf_of_openerp-20120529044543-3399znvakciu7rmb
bzr revid: launchpad_translations_on_behalf_of_openerp-20120530052059-ytwy6lqsfqtzfqbw
2012-05-30 05:20:59 +00:00
Amit Rasmiya 4c6a1abad5 [IMP] Add Placeholder @base
bzr revid: ram@tinyerp.com-20120529103544-t4s9cauvmc1fzr31
2012-05-29 16:05:44 +05:30
Hardik cde44d3848 [IMP]base_vat: Add placeholder @name, l10n_ro: Add placeholder @nrc, base/res/: Add Placeholder @name,@phone,@website,@comment
bzr revid: hsa@tinyerp.com-20120529071519-uas7470hkfwqkh3d
2012-05-29 12:45:19 +05:30
Divyesh Makwana (Open ERP) 4a6b8c28c4 [IMP] Improved the menutips of customer.
bzr revid: mdi@tinyerp.com-20120529054747-895tflcv2en3h4k5
2012-05-29 11:17:47 +05:30
Divyesh Makwana (Open ERP) 6df05b23f0 [IMP] Improved the menutips of customer.
bzr revid: mdi@tinyerp.com-20120528054605-05bu4lujuxmm5fbv
2012-05-28 11:16:05 +05:30
niv-openerp 5c5abe4f39 Used m2mtags in partners
bzr revid: nicolas.vanhoren@openerp.com-20120525154810-bv111a5z4ne0yjzh
2012-05-25 17:48:10 +02:00
Launchpad Translations on behalf of openerp b8820a4db9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120524110834-jkc46sjhrs6vbf2b
2012-05-24 11:08:34 +00:00
Fabien Pinckaers b7c45e8706 [Merge] modules form
bzr revid: fp@tinyerp.com-20120524095449-e4rtyxmnud4gc3bl
2012-05-24 11:54:49 +02:00
Fabien Meghazi 2a09a66192 [IMP] Improved module and partners kanban view a bit
bzr revid: fme@openerp.com-20120524090214-nrd1yz3afrjwmny2
2012-05-24 11:02:14 +02:00