summaryrefslogtreecommitdiff
path: root/addons/l10n_lu
diff options
context:
space:
mode:
authoroco-odoo <oco@odoo.com>2021-05-12 12:27:53 +0000
committeroco-odoo <oco@odoo.com>2021-05-12 15:37:36 +0000
commitadd187862f627c4340ef7ca49d8a75e149cb12f5 (patch)
treee4f532530673aec0961b0026c1d47e29a834279f /addons/l10n_lu
parent863a2e65c8cffce7a50253439cbf9f913f6a38bc (diff)
[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: 90e21592b7575a9dfff6582268ac8c9d651bf63b Related: odoo/enterprise#18292 Signed-off-by: Laurent Smet <smetl@users.noreply.github.com> Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/l10n_lu')
-rw-r--r--addons/l10n_lu/data/account_tax_report_line.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/l10n_lu/data/account_tax_report_line.xml b/addons/l10n_lu/data/account_tax_report_line.xml
index 1d545e55ede..e190882e3e6 100644
--- a/addons/l10n_lu/data/account_tax_report_line.xml
+++ b/addons/l10n_lu/data/account_tax_report_line.xml
@@ -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">