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

Hello, I have Odoo 8. In my situation, I have to define a tax in function of the product quantity in the purchase order. The tax is "$0.15 for each unit purchased". If I purchase 10 units, I have to pay $1.5.

How can I define this tax? Thanks! 

Avatar
Abbandona
Autore Risposta migliore

I found the solution. Create a new Tax, with "Tax type = Python code" and this code:

result = quantity * 0.15
Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
apr 15
4878
7
mag 20
6872
0
apr 16
3324
1
apr 15
5445
2
apr 15
6388