Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
3649 Vizualizări

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


Imagine profil
Abandonează
Cel mai bun răspuns

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


Imagine profil
Abandonează
Autor Cel mai bun răspuns

Any help ?

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
oct. 18
3070
1
dec. 17
7705
0
oct. 17
5673
1
aug. 17
8882
1
iul. 25
1507