summaryrefslogtreecommitdiff
path: root/odoo/sql_db.py
diff options
context:
space:
mode:
authorDenis Vermylen <dve@odoo.com>2017-10-24 13:56:40 +0200
committerDenis Vermylen <dve@odoo.com>2017-10-25 10:35:12 +0200
commit33a04354eb2b3897035c7206411fa0130b312313 (patch)
tree482878a49059f7549790a8349b6e196b1894ee57 /odoo/sql_db.py
parentb7d2bb3a8b4b78f01f2191de6d3bed51113e7264 (diff)
[FIX] product,sale: allow negative discounts in pricelist advanced formula
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.
Diffstat (limited to 'odoo/sql_db.py')
0 files changed, 0 insertions, 0 deletions