7256e01ad0e9c39eb55ce6ecf212c07fe625e098
Update the standard_price outside the loop to avoid recompute quantity_svl at each iteration. quantity_svl is not modify in the process and the standard_price is not read in process. NewPrice = OldPrice + (cost_to_add_x1) / quantity_svl + (cost_to_add_x2) / quantity_svl Becomes NewPrice = OldPrice + (cost_to_add_x1 + cost_to_add_x2) / quantity_svl which is equals. opw-2374405 odoo/odoo#64011 closes odoo/odoo#64032 Forward-port-of: odoo/odoo#63742 X-original-commit: b8d7e48f27fc4f0868c538977be8276058944e57 Signed-off-by: Arnold Moyaux <amoyaux@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%