As part of invoice import I need to adjust total tax (amount_tax) as there are rounding errors and tax calculated from invoice lines are off by 1 cent. In GUI there is button with pencil at the bottom of invoice and it works. It also recalculates Journal entries. I need to do the same from code, from module.
I tried:
invoice.amount_tax = 10
or
invoice.tax_totals = 10
but first just have no effect and second throws exception. Any ideas?
Using Odoo 17.0 CE
Hi I want to migrate from source to destination db. total tax edited records are contained in some records when I migrate from source total tax is some of tax line ids I tried with these I added the tax amount in binary for the creation but it's not working how can I adda that in my migration