summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/security
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2012-06-11 14:27:58 +0200
committerOlivier Dony <odo@openerp.com>2012-06-11 14:27:58 +0200
commit2126f83a3536a14c202d526b1c5d9fb1bb5d821a (patch)
treef105874d26079b87c43bd1092c3d777613f1524b /addons/analytic_user_function/security
parent5fd5165c20f545badc557bf4cb058f3154966b82 (diff)
[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
Diffstat (limited to 'addons/analytic_user_function/security')
0 files changed, 0 insertions, 0 deletions