Skip to Content
Menu
This question has been flagged
1 Atsakyti
3960 Rodiniai

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! 

Portretas
Atmesti
Autorius Best Answer

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

result = quantity * 0.15
Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
bal. 15
4922
7
geg. 20
6958
0
bal. 16
3373
1
bal. 15
5463
2
bal. 15
6432