summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/session_instance.js
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2015-08-31 18:28:28 +0200
committerJeremy Kersten <jke@odoo.com>2015-08-31 18:36:17 +0200
commit0f0473163cfdc35e0642a0624483897524f16a1b (patch)
tree1070e40746dbba35a231f5275b23a9b7197db3d5 /addons/web/static/src/js/framework/session_instance.js
parentb86d98de248ffd04b5749b4ab04413c514f7a22e (diff)
[FIX] base: fix ir_ui_view read file in dev mode
Old code was searching at the same time the xmlid with and without the module name. But if a file contains a template for his module (without prefix module name) and a template with the same name for an other template, the node which are returned canbe the bad template. Eg: in the same file from an other module than website <template id="test"> ... </template> <template id="website.test"> ... </template> If you are looking for template website.test, the old code was returning the first "test" instead of "website.test". Now we look for the more precise xml_id (website.test), before to fallback on the implicit name (test = without module name).
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions