コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3939 ビュー

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
4889
7
5月 20
6876
0
4月 16
3327
1
4月 15
5446
2
4月 15
6394