From cdd428525ea070e8fd8f150b4659a24092633042 Mon Sep 17 00:00:00 2001 From: "Audric Onockx (auon)" Date: Thu, 21 Apr 2022 13:43:46 +0000 Subject: [PATCH] [FIX] sale: allow to select incompatible variants with pill display Steps: Create a product with 2 attributes (2 values each): > Color: black and white > Size: small and large Set their display type to "Pills". Configure them so that only 2 combinations are possible: > black - small > white - large Go to the website page (product configurator). The first combination is set. Try to set another one. Issue: It is impossible to change neither attributes and, therefore, to change the combination. With other display types, you can change one attribute, even if it creates an unavailable combination. You are warned of this fact, but you can change the other attribute and, by doing so, get back on another available combination. Cause: The stylesheet does not allow to click on an incompatible variant (attribute value). Fix: Delete this property. opw-2762514 closes odoo/odoo#90236 X-original-commit: 089fda54e383c5f409bab1f2e4c822a4313864e0 Signed-off-by: Quentin Smetz (qsm) Signed-off-by: Onockx Audric (auon) --- addons/sale/static/src/scss/product_configurator.scss | 3 --- 1 file changed, 3 deletions(-) diff --git a/addons/sale/static/src/scss/product_configurator.scss b/addons/sale/static/src/scss/product_configurator.scss index e8badcb397d..fc2e561b5da 100644 --- a/addons/sale/static/src/scss/product_configurator.scss +++ b/addons/sale/static/src/scss/product_configurator.scss @@ -190,9 +190,6 @@ label.css_attribute_color.css_not_available { color: gray('600'); background-color: gray('200'); } - &.css_not_available { - pointer-events: none; - } } }