İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
3919 Görünümler

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
Vazgeç
Üretici En İyi Yanıt

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

result = quantity * 0.15
Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Nis 15
4858
7
May 20
6852
0
Nis 16
3309
1
Nis 15
5433
2
Nis 15
6372