コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
3628 ビュー

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 ?

アバター
破棄
関連投稿 返信 ビュー 活動
0
10月 18
3069
1
12月 17
7699
0
10月 17
5669
1
8月 17
8871
1
7月 25
1481