← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

*** This bug is a duplicate of bug 675384 ***
    https://bugs.launchpad.net/bugs/675384

** This bug has been marked a duplicate of bug 675384
   [5.0 sale/purchase] rounding problems with both sale and purchase orders
 * You can subscribe to bug 675384 by following this link: https://bugs.launchpad.net/openobject-addons/+bug/675384/+subscribe

-- 
[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







References