fcd6610bcc6229bb3c181fb4794edeb5f26777ab
Steps to reproduce: - Install and launch sales - In settings: activate price lists and discount; price list based on advanced rules - Create a new price list; based on percentage (54%)*; applicable on all products; show discount - Make sure the Public Price List has show discount activated - Create a new quotation - Select the Test pricelist - Select a product (price 0.03 eur/$/other)* - Change the price list to Public price list - update the prices - change the price list to Test price list - update the prices -> The Discount shown is not the one defined in the price list (66.67%)* *(values for my example) Solution: Use the real price and not the a posteriori-rounded price for the computation of the discount in the `update_prices` method. opw-2677884 closes odoo/odoo#81395 X-original-commit: 986dbc20952caae9d5a1b4b7ee34cfb994dea077 Signed-off-by: yosa-odoo <yosa@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%