Skip to content

Commit

Permalink
[FIX] l10n_ee: tax report computes according to updated taxes
Browse files Browse the repository at this point in the history
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] ec25405

opw-3815147

closes odoo#159154

Signed-off-by: de Wouters de Bouchout Jean-Benoît (jbw) <jbw@odoo.com>
  • Loading branch information
dylankiss committed Mar 26, 2024
1 parent 54c0b97 commit 6ea02a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/l10n_ee/data/account_tax_report_data.xml
Expand Up @@ -157,7 +157,7 @@
<record id="tax_report_line_4_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">aggregation</field>
<field name="formula">l10n_ee_vat_1.balance * 0.2 + l10n_ee_vat_2.balance * 0.09 + l10n_ee_vat_2_1.balance * 0.05</field>
<field name="formula">l10n_ee_vat_1.balance * 0.22 + l10n_ee_vat_1_1.balance * 0.2 + l10n_ee_vat_2.balance * 0.09 + l10n_ee_vat_2_1.balance * 0.05</field>
</record>
</field>
</record>
Expand Down

0 comments on commit 6ea02a5

Please sign in to comment.