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!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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!
I found the solution. Create a new Tax, with "Tax type = Python code" and this code:
result = quantity * 0.15
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
1
Apr 15
|
5204 | |||
|
7
May 20
|
7359 | |||
|
0
Apr 16
|
3675 | |||
|
1
Apr 15
|
5800 | |||
|
2
Apr 15
|
6804 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.