diff options
| author | Jorge Pinna Puissant <jpp@odoo.com> | 2020-02-24 14:43:54 +0000 |
|---|---|---|
| committer | Jorge Pinna Puissant <jpp@odoo.com> | 2020-03-13 12:52:08 +0000 |
| commit | 7718199ae08caeb97f1ae35acef8312015c6e7f9 (patch) | |
| tree | f7e985cc4dc86a0a24f23b9ee270594aabdc6b12 /addons/web/static/src/xml/debug.xml | |
| parent | 828531d66fee06df22054dec0a7051d47b31960c (diff) | |
[FIX] base, website: process views without xml_id
The function get_inheriting_views_arch, retrieves the architecture of
views that inherit from the given view. In the case of the module init
is currently in process only views from modules whose code is already
loaded are taken into account.
Before this commit, the function didn't process views that has been
copied (copy on write, web editor, customize show, manual copy, ...),
this raise an error when trying to install a module. For example,
install module website_sale, copy on write the view 'Main layout',
install module website_sale_wishlist.
Now, views that has been copied are also processed.
opw-2181968
closes odoo/odoo#47590
X-original-commit: d5a2890b30f869c9b4cf7aafed0e05aff9440360
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
Co-authored-by: Nicolas Lempereur <nle@odoo.com>
Diffstat (limited to 'addons/web/static/src/xml/debug.xml')
0 files changed, 0 insertions, 0 deletions
