Skip to content
Snippets Groups Projects
Commit add18786 authored by oco-odoo's avatar oco-odoo
Browse files

[FIX] l10n_lu: fix tax report lines' codes for XML export 2.0


When exporting the tax report's monthly xml with enterprise, the file wasn't accepted by the government in case 0% taxes were used.

Grid 033 is optional, and can be used for custom tax rates. If specified, it MUST always go with grid 403 (giving the tax rate) and 042 (giving the tax amount). In Odoo, we made the choice to use it for 0% taxes, so 403 and 42 will always be present, and always 0.

In community, grids number were missing on the lines' labels, and the codes (used to retrieve the value of each grid when generating the XML) were not correct.

closes odoo/odoo#70754

X-original-commit: 90e21592
Related: odoo/enterprise#18292
Signed-off-by: default avatarLaurent Smet <smetl@users.noreply.github.com>
Signed-off-by: default avataroco-odoo <oco-odoo@users.noreply.github.com>
parent 863a2e65
No related branches found
No related tags found
No related merge requests found
......@@ -460,6 +460,7 @@
<field name="sequence">10</field>
<field name="report_id" ref="tax_report"/>
<field name="parent_id" ref="account_tax_report_line_2a_breakdown_taxable_turnover_base"/>
<field name="code">LUTAX_033</field>
</record>
<record id="account_tax_report_line_2a_base_17" model="account.tax.report.line">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment