summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorSylvain GARANCHER <sylvain.garancher@syleam.fr>2015-10-19 13:55:25 +0200
committerDenis Ledoux <dle@odoo.com>2015-12-22 14:14:59 +0100
commit11cd22711c6a31d0f98628ebbbb01ab3ef5c23e8 (patch)
tree73d5b61e7bbcd8a6df8695d2eff6c1e45644015f /addons/web/static/src/xml
parenta617fd29ae318e5c8f6a728dede77b1f170b3553 (diff)
[FIX] Fix check_xml when inheriting from views created in the same module
When inheriting from a view in extension mode created in the same module, this view was not loaded during check_xml of the last view. This caused an error when the last view wants to modify elements added by its direct parent view. Example : - View1, created in module "account" - View2, mode extension, created in module "customer", inherits View1 - View3, created in module "customer", inherits View2 During update of module "customer", when loading View3, the check_xml call didn't load View2, because it's defined in the same module (and, obviously, this module has not be totally loaded at this point) This is fixed by adding direct parent of each loaded view in the check_view_ids list in context, to force them to be loaded. Closes #9135
Diffstat (limited to 'addons/web/static/src/xml')
0 files changed, 0 insertions, 0 deletions