İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
3608 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
Üretici En İyi Yanıt

Any help ?

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Eki 18
3060
1
Ara 17
7685
0
Eki 17
5644
1
Ağu 17
8857
1
Tem 25
1464