diff options
| author | Jairo Llopis <yajo.sk8@gmail.com> | 2017-07-03 10:51:04 +0200 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2017-08-22 13:18:05 +0200 |
| commit | 48fe0a595308722a26afd5361432f24c610b4ba0 (patch) | |
| tree | 8aeb9174e3ae359e182a8276c2edd2610323672c /addons/web/static/src/js/views/basic/basic_view.js | |
| parent | 7c6714d7fee4125f037ef194f9cff5235a6c5320 (diff) | |
[FIX] website: get website-specific view ids if available
In a multiwebsite environment, (de)activating some theme views produces
undesired results if the same view exists in different ways for different
websites.
With this patch, we search before for a website-specific view with the provided
key, and fall back to the XMLID-found one if there is no specific view.
This commit closes odoo/odoo#17970
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions
