054894c35c2d958d72351696d7f233d09fee1c36
Issue - Install Sales with Product Configurator - Create a product with 2 dynamic variants: - Color: blue, red - Size: S, M - Create a quotation with that product (any variant) - Sales > Products > Products Variants Your product variant is there - Modify your product template and add "green" to colors - Sales > Products > Products Variants Your product variant is archived Cause The logic which determines which variant should not be archived is only applied on products that don't have dynamic variants See https://github.com/odoo/odoo/blob/820fe9a025e34e81368a189ee295b4abcf9fcbda/addons/product/models/product_template.py#L576 Solution Do a separate logic for dynamic variants that doesn't compute all possible combinations. But being sure that it: - doesn't archive when adding/removing a value to an existing attribute line - archive when adding/removing a new attribute line OPW-2293346 closes odoo/odoo#55016 X-original-commit: 8517fdfa2605e8d15f5e38f2074ece7ba543d56b Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%