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.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 2/21/16, 9:22 AM|
|Seen: 327 times|
|Last updated: 2/21/16, 3:39 PM|