summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/session_instance.js
diff options
context:
space:
mode:
authorGoffin Simon <sig@odoo.com>2015-10-28 12:32:50 +0100
committerGoffin Simon <sig@odoo.com>2015-10-29 15:19:10 +0100
commit46266ee11eef53c3590e31467275851e44bc80ad (patch)
treef0b111e40d8e58705b0483f769246f307c09125a /addons/web/static/src/js/framework/session_instance.js
parent7ffc2916ee8c5a6c97ebb66d1aa59da05f71838c (diff)
[FIX] website: _view_obj in multi websites
First 'key' and 'website_id' fields must be checked to retrieve the right view. Then if no view is found, it falls back on xml_id. To choose the right ir_ui_view, _view_obj must take into account the 'website_id' set in the context. Inspired from function "get_view_id" in addons/website/models/ir_ui_view.py
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions