diff options
| author | Romain Derie <rde@odoo.com> | 2019-07-24 15:05:47 +0000 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2019-07-24 15:19:26 +0000 |
| commit | cb3bf5509fdea893ce53b5c76104df1a31db6e70 (patch) | |
| tree | f56ebe589efd816a0c40439b102e8e4ac1a9dd61 /addons/web/static/src/js/views/basic | |
| parent | f7b6d3b0b81c447e3ec4dab244594717b703686d (diff) | |
[FIX] web_editor, website: avoid returning children of inactive view
Before this commit, for the following view tree:
P (active)
|
I (inactive)
|
II (active)
When calling `customize_template_get()` on 'P', it would wrongly return 'II'.
It shouldn't, since its parent 'I' is inactive.
Step to reproduce:
- Go to /shop
- Enable ecommerce categories
- Enable Collapsible Cateogories
- Disable ecommerce categories
- Collapsible categories is still shown even if its parent got archived
Test writen in 12.0 with #35154
closes odoo/odoo#35155
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
