跳至内容
菜单
此问题已终结

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.

形象
丢弃
相关帖文 回复 查看 活动
0
11月 15
3402
2
10月 23
4080
1
8月 21
8180
3
1月 20
7052
1
10月 19
31