summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2018-12-10 18:02:07 +0000
committerRomain Derie <rde@odoo.com>2018-12-19 18:24:50 +0000
commit9411ac0acd6681c6160294e5fe2fe0baa8cc188b (patch)
tree8702ddcfaa7ddfdde8b214967ca6ae6a14112421 /addons/web/static/src/js/views/basic/basic_controller.js
parentf7df35540b8404a14e8d29af80b8e8642a4c1bdb (diff)
[FIX] website_*: get specific view over generic one
Before this commit, self.env.ref would always find the generic view loaded from the assets. Disabling a customize_show view on a website would not hide completely the feature as the self.env.ref would retrieve the active generic one and not the inactive specific one. Step to reproduce (on one of the module): - Install website_sale_wishlist - Disable "Wishlist" on the Customize menu of /shop - Go to a product page, the wishlist hearth icon is still there opw-1914576 Closes #29347
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions