diff options
| author | Jason Van Malder <jvm@odoo.com> | 2020-07-27 12:45:47 +0000 |
|---|---|---|
| committer | Jason Van Malder <jvm@odoo.com> | 2020-07-27 14:49:18 +0000 |
| commit | 974bc0d2df33850320d1363e8060131d194e4bb6 (patch) | |
| tree | b41378a2aa33909d5e0aa74919310882dd1e76e3 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | cc6000abfae651281f4197715e8c1e58c29430cc (diff) | |
[FIX] sale: fix safari excluded variant indistinguishable in select
Issue
- Safari
- Sales with product configurator
- Have a product with color black & white
size M, XL
- Exclude M size when color is white
- Create a SO with that product
- Select white color
The size's M option is not grayed in the select
Cause
We do not disable the option when it's not available.
We are just adding a css class which grays the option.
Safari ignores the style
Solution
Since the flow can't be completed if you select a
grayed item, disable the option
OPW-2289666
closes odoo/odoo#54993
X-original-commit: 6150311b72089e3fbae6bc27551bc7f4792e68dd
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
