Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3857 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

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;

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mar 24
1846
3
ago 25
2103
0
dic 23
1938
0
lug 23
649
1
nov 22
3431