This question has been flagged

Hello,

I use the webservice to register POS orders in OpenERP 7. I have a problem when I try to sale a product at 5€ (tax included).

I use OpenERP prices without tax. So I have configured my "5€ product" prie at 5 / 1.1 = 4,55 (the exact result is 4,54545454). But when OpenERP calculate the tax included value the result is wrong: 4,55 x 1,1 = 5,01 (5,005). So I set the Product decimal precision to 3 and the price at 4,545.

The last problem is to register the order with 3 decimals products prices. I send : "price_unit":4.545 and OpenERP convert it with 2 decimals and calculate the iax included price at 5,01.

Any idea? Thank you.

Avatar
Discard