summaryrefslogtreecommitdiff
path: root/addons/web/static
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2019-08-05 15:51:20 +0000
committerqsm-odoo <qsm@odoo.com>2019-08-05 15:57:25 +0000
commitdc0630833b2a43373b9da45cf310039510fd2f7d (patch)
tree67a0cce0f1fae8463e9c6ad017ab3b8fb8ab3770 /addons/web/static
parentbacb353799f0579070b2f3b384af921b0e04ae4c (diff)
[FIX] website: prevent multi checked options in the same group
In the customize theme modal, if one option enabled views which were a subset of the views which are enabled by another option, both options would be checked on modal opening if all the related views were active. This is the case for the "choose an image" and the "choose a pattern" options: the first one enables a view which adds an image on the body and the second one enables the same view but also another which enables the fact that the image must be repeated. This commit solves the issue by always selecting the option enabling the most views among the checked options in a same set. opw-1958395 closes odoo/odoo#35465 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web/static')
0 files changed, 0 insertions, 0 deletions