Skip to content
Snippets Groups Projects
Commit f587ee0a authored by Yolann Sabaux's avatar Yolann Sabaux
Browse files

[FIX] product: variant exclusion not taken into account


Steps to repoduce:
- Go to Sales - products
- Create a product
- Add variants (3 attributes and 2 values each) Total is 8 variants.
- onfigure variants: Select 1 attribute and exclude it for 1 variant (for example: exclude for size 12x12)
-> the number of variants remains at 8. The one that is excluded is still visible in the Product variants tab.

Solution:
When an exclusion is created, archive all the not-possible-combination.

OPW-2729329

closes odoo/odoo#84521

X-original-commit: 5ff4eb02
Related: odoo/enterprise#24311
Signed-off-by: default avatarSébastien Theys (seb) <seb@odoo.com>
Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
parent 5f7e2906
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment