diff options
| author | Romain Derie <rde@odoo.com> | 2018-12-10 18:02:07 +0000 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2018-12-19 18:24:50 +0000 |
| commit | 9411ac0acd6681c6160294e5fe2fe0baa8cc188b (patch) | |
| tree | 8702ddcfaa7ddfdde8b214967ca6ae6a14112421 /doc/reference/javascript_reference.rst | |
| parent | f7df35540b8404a14e8d29af80b8e8642a4c1bdb (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 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
