diff options
| author | Raphael Collet <rco@openerp.com> | 2014-12-16 17:20:20 +0100 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2014-12-19 13:57:08 +0100 |
| commit | 8f38a7806a73a3e6df210a7b740d1dd0d8a59717 (patch) | |
| tree | ee6612f4066bd4e5c0c2bda9def40a90096d4fac /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | b0ae5eac57d5bd9f063af733bb4f81ba4afce11c (diff) | |
[IMP] enable loading custom models/fields and views from module data files
Loading views for custom models from module data files was not possible because
custom models and fields were introduced into the registry after all modules
were loaded. As a consequence, the view architecture did not pass the checks.
This patch takes a different approach: custom models and fields are loaded
early on in the registry, so that views can be validated. The trick is to take
special care of relational custom fields: we skip them if their comodel does
not appear in the registry. This allows to install and upgrade modules that
create/modify custom models, fields and views for them.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
