[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) <qsm@odoo.com>
Signed-off-by: Onockx Audric (auon) <auon@odoo.com>
This commit is contained in:
Audric Onockx (auon)
2022-05-02 18:48:49 +02:00
committed by qsm-odoo
parent 25ee880164
commit cdd428525e
@@ -190,9 +190,6 @@ label.css_attribute_color.css_not_available {
color: gray('600');
background-color: gray('200');
}
&.css_not_available {
pointer-events: none;
}
}
}