9f1241b84cf0584f33177871b2ccd1ae774f4072
Before this commit, If "Show public price & discount to the customer" discount display policy is selected, taxed prices in the pricelist with discounts are compared with untaxed prices in the public pricelist, which leads to not showing the discounted values when the pricelist value is less than untaxed list price, but the taxed value is more than untaxed list price. Steps to reproduce: 1. Create a product, add it to a pricelist with a lower price in a way that if the tax is added the price is more than its sale price, add a tax option to the product 2. Set the pricelist discount display policy as `Show public price & discount to the customer` 3. Set the PoS to use tax-included prices, and to use the discounted pricelist 4. start the PoS session, add the product, you will see that the public price isn't shown (with a strike-through) To fix, we can use a different function that computes the taxed public price, so it could be compared with the pricelist price. opw-2919734 closes odoo/odoo#97698 X-original-commit: bbada7911ab59ca20c97fd152112116cab0bf398 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%