summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2019-07-24 15:05:47 +0000
committerRomain Derie <rde@odoo.com>2019-07-24 15:19:26 +0000
commitcb3bf5509fdea893ce53b5c76104df1a31db6e70 (patch)
treef56ebe589efd816a0c40439b102e8e4ac1a9dd61 /addons/web/static/src/js/views/basic/basic_model.js
parentf7b6d3b0b81c447e3ec4dab244594717b703686d (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/basic_model.js')
0 files changed, 0 insertions, 0 deletions