← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 675382] [NEW] [5.0 sale] order lines should use rounding method defined by the currency of the price list

 

Public bug reported:

steps to reproduce :
- set the price_accuracy to 0 in the server config (we set this because our main currency does not have decimals)
- make an order for a customer using a price list in a currency where rounding factor = 0.01
- it's impossible to enter a price with decimal in the order lines

In sale.py, the prices are rounded using the price_accuracy instead of
the currency rounding factor for the price list used in the sale :
digits=(16, int(config['price_accuracy'])

server 5.0.15
addons rev 2880

Regards

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Branch linked: lp:openobject-addons/5.0

-- 
[5.0 sale] order lines should use rounding method defined by the currency of the price list
https://bugs.launchpad.net/bugs/675382
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: New

Bug description:
steps to reproduce :
- set the price_accuracy to 0 in the server config (we set this because our main currency does not have decimals)
- make an order for a customer using a price list in a currency where rounding factor = 0.01
- it's impossible to enter a price with decimal in the order lines

In sale.py, the prices are rounded using the price_accuracy instead of the currency rounding factor for the price list used in the sale : digits=(16, int(config['price_accuracy'])

server 5.0.15
addons rev 2880

Regards







Follow ups

References