Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3748 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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;

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
mar 24
1649
3
sie 25
1880
0
gru 23
1738
0
lip 23
649
1
lis 22
3271