42fc0f491001041b6001ed5a9eab2b7e79cbb75b
Probably since recent js framework changes, when trying to modify the matrix of a product on a new SO (not saved), a js error was raised (wrong qweb template rendering). This is due to a wrong check when loading the matrix data, in the case of a new record, the data wasn't correctly updated on all widgets, resulting in an opening of the matrix with the results of the last matrix changes (since the information is transferred in the same field). This commit: * Ensures that the correct data is taken to open the matrix (solving the main problem of matrix update on new records) * Improves test coverage to cover untested buggy situation * Fixes another error found while improving test coverage: The edition of existing quantities was wrongly creating new lines, instead of updating existing ones. Simplify lines comparison to ensure the matrix won't generate two lines for the same variant combination. closes odoo/odoo#54917 Signed-off-by: Victor Feyens (vfe) <vfe@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%