تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3744 أدوات العرض

Could someone explain how to use Special Computaion with an example?

الصورة الرمزية
إهمال
أفضل إجابة

Try this (to be modified according to your objective) with your new tax

 

Code Python

# price_unit # or False # product: product.product object or None # partner: res.partner object or None

Code Python (TVA Incl)

result = ((price_unit-3.17)/1.055* 0.055 + (3.17/1.2)*0.2)

Here we have a kit with 2 components with 2 differents tax rates; one of the component has a standard price of 3.17;

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 24
1649
3
أغسطس 25
1879
0
ديسمبر 23
1737
0
يوليو 23
649
1
نوفمبر 22
3270