Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
3631 Переглядів

Hello


I used to create invoices through external api in version 12

In order to calculate taxes I was calling 

compute_taxes on  account.invoice

I know that now in version 14 it is invoice is replaced with 

account.move

but the method to re-calculate taxes does not exist anymore 
There is  _recompute_tax_lines but it seems to be private so cannot call it remotely. 

How can I force to recalculate the invoice lines in version 14 ? 


Thanks for your help


Аватар
Відмінити
Найкраща відповідь

I don't see any public function calling _recompute_tax_lines, so i guess try these :
- try to call _recompute_tax_lines from xmlrpc
- wrap the function with other public function


Аватар
Відмінити
Автор Найкраща відповідь

Any help ?

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
жовт. 18
3069
1
груд. 17
7699
0
жовт. 17
5669
1
серп. 17
8872
1
лип. 25
1493