diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-02-28 12:34:29 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-03-14 08:08:45 +0000 |
| commit | 35221a3243c9ae90cfb216a4b0fbbb7409a27712 (patch) | |
| tree | fe60f3cb0411af36dd1e9d8eb3346a728c15c478 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | d2a6554932ef3aa405306120821b2c08536f1200 (diff) | |
[FIX] product: exclude without attribute values
With the demo data:
- Go to Sale > Products > Products, search for 'Customizable Desk'
- Click on 'Configure Variants'
- For variant 'Legs: Steel', remove the attribute values for the
'Conference Chair'
- Create a SO, add a line with 'Configure Product'
- Select the 'Customizable Desk' with 'Legs: Steel', add
The 'Conference Chair' is displayed in the 'Available Options', while it
shouldn't.
The methods `_get_own_attribute_exclusions` and
`_get_parent_attribute_exclusions` compute the exclusions based on the
attribute values. Since there is no values in our case, the exclusion is
not taken into account.
We add a specific case to search for exclusions without values.
opw-1945460
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
