From 9a9d61f75539614f8c5e2b80dcb4dacd0dc72c00 Mon Sep 17 00:00:00 2001 From: Brice bib Bartoletti Date: Mon, 31 Jan 2022 11:23:36 +0000 Subject: [PATCH] [IMP] l10n_dk: tax implementation, fix and last fine tuning The aim of this commit is to: - correct the implementation of the restaurationMoms - add a price_include version of restauraionMoms - make a better implementation of the energy tax before this commit: The implementation of the restaurationMoms is completly false. The implementation of tax energy is quite complicated and makes the UI display a "0 tax value". after this commit: 2 restaurationMoms version and both are correct. Tax energy implementation is more user-friendly and more correct regarding information displayed by the UI. closes odoo/odoo#84004 Task: #2748309 Pr: https://github.com/odoo/odoo/pull/83666 X-original-commit: 7d4dcf7944cf776d74d31c80f2df15c8d44e3c5c Signed-off-by: Josse Colpaert Signed-off-by: Brice Bartoletti --- .../data/account_tax_template_data.xml | 70 ++++++++++++++++--- 1 file changed, 61 insertions(+), 9 deletions(-) diff --git a/addons/l10n_dk/data/account_tax_template_data.xml b/addons/l10n_dk/data/account_tax_template_data.xml index 5b1f611cf03de..edbe6fca4565e 100644 --- a/addons/l10n_dk/data/account_tax_template_data.xml +++ b/addons/l10n_dk/data/account_tax_template_data.xml @@ -328,7 +328,7 @@ 450 Restaurationsmoms 6,25%, købsmoms 6,25% - 6.25 + 25 percent purchase + + + + 450 + Restaurationsmoms indeholdt 6,25%, købsmoms + 6,25% + 25 + percent + purchase + + + @@ -553,7 +603,8 @@ 710 Olie- og flaskegasafgift 100 - percent + division + purchase @@ -583,7 +634,7 @@ 'minus_report_line_ids': [ref('l10n_dk.account_tax_report_line_deduction_oil_bottle_tax')], }), (0,0, { - 'factor_percent': -92.83, + 'factor_percent': 7.17, 'repartition_type': 'tax', }), ]"/> @@ -631,7 +682,8 @@ 730 Naturgas- og bygasafgift 100 - percent + division + purchase @@ -661,7 +713,7 @@ 'minus_report_line_ids': [ref('l10n_dk.account_tax_report_line_deduction_gas_tax')], }), (0,0, { - 'factor_percent': -92.83, + 'factor_percent': 7.17, 'repartition_type': 'tax', }), ]"/>