diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2018-11-28 15:26:48 +0000 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2018-11-28 15:26:48 +0000 |
| commit | c432667fbf2f9b833d7fde9010f558d19666ad2f (patch) | |
| tree | 45c6ef245068dad6d41ccc22a5bf250883f01d11 /addons/web/static/src/js/core/dom.js | |
| parent | 293dbe267abe0a48f3f5f16e929d09bd0bc6198d (diff) | |
[FIX] base,web_editor: get_view_id should return singleton
Because of 9a98a4d60e36ea7d9f29ea52a1524501ebff84de
and since the key of an ir.ui.view cannot be unique
(multiwebsite), duplicating views made several parts of Odoo crash
After this commit, we limit to one the views that are searched with their key
Responsibility is given to the user to change the priority and/or the key
in order to predict which view will be taken
OPW 1913335,1913100,1913186,1913112,1913240
closes odoo/odoo#29105
Diffstat (limited to 'addons/web/static/src/js/core/dom.js')
0 files changed, 0 insertions, 0 deletions
