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
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
1
kwi 15
|
4858 | ||
|
7
maj 20
|
6852 | ||
|
0
kwi 16
|
3309 | ||
|
1
kwi 15
|
5433 | ||
Check that a field not changes after edition
Rozwiązane
|
|
2
kwi 15
|
6372 |