Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3899 Lượt xem

Could someone explain how to use Special Computaion with an example?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Try this (to be modified according to your objective) with your new tax

 

Code Python

# price_unit # or False # product: product.product object or None # partner: res.partner object or None

Code Python (TVA Incl)

result = ((price_unit-3.17)/1.055* 0.055 + (3.17/1.2)*0.2)

Here we have a kit with 2 components with 2 differents tax rates; one of the component has a standard price of 3.17;

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 24
1940
3
thg 8 25
2197
0
thg 12 23
2007
0
thg 7 23
649
1
thg 11 22
3521