odoo/openerp/modules
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
..
__init__.py [IMP] post_load: factored common code. This also fix bug lp:929466 2012-02-09 16:27:32 +01:00
db.py [REVERT] db: revert incorrect change to auto_install logic 2012-06-11 12:36:53 +02:00
graph.py [IMP] openerp.{modules,osv}: _logger with fully qualified module name. 2012-01-24 13:42:52 +01:00
loading.py [IMP] modules, ir.ui.view: improve view validation + avoid validation errors during updates 2012-06-11 14:27:58 +02:00
migration.py [IMP] openerp.{modules,osv}: _logger with fully qualified module name. 2012-01-24 13:42:52 +01:00
module.py [IMP]module: improve tree and form view and remove complexity field from ir.module object 2012-05-18 10:59:39 +05:30
registry.py [IMP] modules, ir.ui.view: improve view validation + avoid validation errors during updates 2012-06-11 14:27:58 +02:00