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

Hi,

 

When I save an invoice after adding new invoice lines with products under VAT, the total VAT amount is not automatically updated.

Is there a way to compute automatically the amount tax when the invoice is saved ?

Why it is not native behavior ?

 

Any help will be much appreciated

Cheers

 

アバター
破棄
最善の回答

If you add an invoice line or change an amount, the total are not updated. There is a button "update" next to tax to recalculate the tax and the total. You can save the invoice without recalculating, but you cannot validate the invoice - at least in my instance (v8).

I am not sure whether there is a setting to do this automatcally on save. But I think you could do this by modifying the code. addons/account/account_invoice.py. There is a method called action_move_create. I think if you add a call at the beginning of that function to self.button_compute(self,cr,uid,ids,content), that should do the trick. But not tested and I have no experience in python.

 

アバター
破棄
関連投稿 返信 ビュー 活動
1
6月 25
2542
1
5月 17
5659
1
7月 25
870
3
7月 25
3382
2
7月 25
1010