odoo/odoo#159392

Created by fw-bot
label
odoo-dev:master-16.0-fix-estonia-tax-report-22-dyki-p7lZ-fw
head
ac94cf9e1728f890339633cc9cc1747133b69881
target
master
merged
1 month ago by Accounting, Dylan Kiss (dyki)
forward-port of
odoo/odoo#159154

[FW][FIX] l10n_ee: tax report computes according to updated taxes

In the beginning of 2024, the default tax of 20% in Estonia was changed by 22% (with the 20% still supported as a legacy) [1]. With that change, the tax report was also updated so the line previously containing the taxable amount at 20% now contains the taxable amount at 22%.

However, the formula computing the tax amount itself was not updated to reflect this change and was still computing the tax by multiplying the taxable amount by 0.2.

This fix corrects the tax computation in the report.

[1] ec25405367eaeca6bdd1f54e2a09fe6b93b8a4b6

[opw-3815147](https://www.odoo.com/web#id=3815147&cids=1&model=project.task&view_type=form)

---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: odoo/odoo#159154