forked from odoo/odoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] product,sale: allow negative discounts in pricelist advanced fo…
…rmula Between v9.0 and v10.0 a pricelist refactoring made it so negative discounts no longer worked correctly. They should always be included in the unit price of the product (not to be displayed as a negative discount even if the option to display the discount is enabled). This commit also corrects currency conversion issues when basing the price on another pricelist with a differnt currency, and when making the sales order in a company with a different currency than the pricelists currency.
- Loading branch information
1 parent
b7d2bb3
commit 33a0435
Showing
2 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters