da8997d87a8c51d6658deaec87f6166dc55f664f
In a sale order, an error is raised when selecting a product (`product.template`) that has an archived variant (`product.product`) which uses an attribute (`product.attribute`) still used in other variants Steps to reproduce: 1. Install Sales and Stock 2. Create a new product 'TEST' 3. Add the attribute 'Legs' with values 'Steel' and 'Aluminium" 4. Create a new sale order for any customer with product 'TEST' and variant 'Steel' and confirm it 5. Open the form of product 'TEST' and add the attribute 'Color' with values 'White' and 'Black' 6. Create a new sale order and try to add the product 'TEST', an error is raised Solution: Make sure there is a product attribute value to disable before excluding one in the ptavList Problem: A `product.product` of a `product.template` can be archived if it has been used in past orders and a new `product.attribute` has been added to the `product.template`. Thus, the old product attribute value will appear in archivedCombinations but there is nothing to disable because the `product.attribute` is still used. opw-3413721 closes odoo/odoo#128465 X-original-commit: 8240a34a7f5b082aca4b495447abf87481a04913 Signed-off-by: Guillaume Merlin (megu) <megu@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%