Skip to Content
Menu
This question has been flagged
2401 Views

I developed a custom module where I changed the behavior of _compute_amount method of account.invoice by adding a fixed amount to the amount_tax.
The problem is, when I confirm the invoice (draft to opened), only the amount_untaxed and the old amount_tax gets added to the move_line model.
How can I change the behavior of confirming a draft invoice in order to add my fixed amount?

Avatar
Discard
Related Posts Replies Views Activity
3
Aug 24
5507
4
Jul 24
38820
5
Apr 23
93756
3
Nov 22
2959
3
Aug 22
3042