Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 11 15
3485
2
thg 10 23
4201
1
thg 8 21
8265
3
thg 1 20
7139
1
thg 10 19
31