123b705677358675f1db0dd312fcc419fcd740e1
To reproduce: 1. Install pos_discount and pos_coupon. 2. Start a session and add item to the order. 3. Add global discount. 4. Change global discount. Stuck. This is because in some modules, get_orderlines is overridden. Instead of returning the original object containing the orderlines, it returns a different array instance containing the lines. This is the reason the while loop is stuck. With this change, whether get_orderlines return the container or a copy, we are sure that it won't be stuck in the for loop. closes odoo/odoo#81011 Task-id: 2697861 X-original-commit: 6d78748794a2db3f324312fc773f7a48fd0ffba4 Signed-off-by: Masereel Pierre <pim@odoo.com> Signed-off-by: Joseph Caburnay (jcb) <jcb@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%