コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3746 ビュー

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

アバター
破棄
最善の回答

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;

アバター
破棄
関連投稿 返信 ビュー 活動
0
3月 24
1649
3
8月 25
1879
0
12月 23
1737
0
7月 23
649
1
11月 22
3270