Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
3738 Visninger

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


Avatar
Kassér
Bedste svar

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


Avatar
Kassér
Forfatter Bedste svar

Any help ?

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
okt. 18
3100
1
dec. 17
7737
0
okt. 17
5725
1
aug. 17
8909
1
jul. 25
1580