跳至內容
選單
此問題已被標幟
1 回覆
3926 瀏覽次數

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
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
4月 15
4858
7
5月 20
6852
0
4月 16
3309
1
4月 15
5433
2
4月 15
6372