Skip to content
Snippets Groups Projects
Commit c43c308c authored by Olivier Dony's avatar Olivier Dony
Browse files

[FIX] product: typo in previous commit

"The only man who makes no mistakes is the man who never does anything. ~T.R." ;-)

bzr revid: odo@openerp.com-20140306190906-k8wjr9urekpoy7ch
parent f7cd7047
Branches
Tags
No related merge requests found
......@@ -295,7 +295,8 @@ class product_pricelist(osv.osv):
if price is not False:
price_limit = price
price = price * (1.0+(res['price_discount'] or 0.0))
price = tools.float_rouding(price, precision_rounding=res['price_round'])
if res['price_round']:
price = tools.float_round(price, precision_rounding=res['price_round'])
price += (res['price_surcharge'] or 0.0)
if res['price_min_margin']:
price = max(price, price_limit+res['price_min_margin'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment