bc3ee30504a37c2eb22df9f24547d90c35e15a68
Having : - a pricelist with 10% of discount for all the products. - the discount policy in the pricelist set to : "Show public price & discount to the customer" - a product with negative price (ex : -$125) - add the product in a SO with the 10% pricelist Before this commit, the unit price was the price with the discount already applied: -$112.5, and not the original price as expected; The subtotal price was $101,25 (the discount is applied twice) which is wrong. Now, the unit price is -$112.5 as expected, in Odoo surcharge are always included in the display price. opw-1986582 closes odoo/odoo#33717 Signed-off-by: Nicolas Lempereur (nle) <nle@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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%