diff options
| author | Romain Derie <rde@odoo.com> | 2019-07-24 14:41:02 +0000 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2019-07-24 15:38:42 +0000 |
| commit | 6a59224055ae53f7d551c27289ce8810674ef6e3 (patch) | |
| tree | e80da6518838e5147b690129f2fdab56b31c24f8 /addons/base_setup/data/base_setup_data.xml | |
| parent | c8754185d14115183a384398451070e45ec73eb4 (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 `get_related_views()` 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
closes odoo/odoo#35154
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/base_setup/data/base_setup_data.xml')
0 files changed, 0 insertions, 0 deletions
