summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorFlavien ChĂȘne <me@flavienchene.fr>2018-06-07 09:28:26 +0200
committerYannick Tivisse <yti@odoo.com>2018-06-11 12:13:19 +0200
commit8dc3bd4b636ba770b2ab7950f6550f97b764f332 (patch)
treee9128c2cb33744cd1088c5b52320f39ae66e1eee /addons/web/static/src/js/views/basic/basic_controller.js
parent31f36871244910f8d6538664b68056f6c79dba08 (diff)
[FIX] website_sale: Correct set 'checked' attribute on variants list
Purpose ======= In the website_sale.product_variants template, for the "checked" attribute in the radio input, it must be " checked' if variant_id_index == 0 else None " instead of "' checked' if variant_id_index == 0 else '' ". For this moment, it checked the last variant because we get " checked="checked" " for the first and " checked="" " for the others. Specification ============= Use None instead of '' for the checked attribute if it shouldn't be checked.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions