Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3882 Представления

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;

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
мар. 24
1884
3
авг. 25
2130
0
дек. 23
1958
0
июл. 23
649
1
нояб. 22
3456