ecae67cee74de90188718c2fdaea802af8b97256
This commit fixes two bugs: 1) When the user changes the tracking of a product template with variants, they get a traceback. 2) When the user changes the tracking of a product with quantity available, the warning is not shown. For the 1), it was due to reading `tracking` and `qty_available` fields on a record set (happens when the template has variants). For the 2), it was due to the `qty_available` who is wrongly computed in the onchange because of the records having a "new-id" instead of their usual id. How to reproduce: - Create a new product with some variants, no tracking; - Add quantities for those product variants; - Edit the product and change its tracking -> Traceback. task-2618203 closes odoo/odoo#76071 Co-authored: svs-odoo < svs@odoo.com > X-original-commit: 75572da12b3ad5d0f930e7e2f5dbac067a350b3c Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com> Signed-off-by: Rémy Voet <ryv-odoo@users.noreply.github.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%