From cbf464898a5a20b5635222196ddd779fd4be91c9 Mon Sep 17 00:00:00 2001 From: Brice bib Bartoletti Date: Fri, 1 Oct 2021 20:42:43 +0000 Subject: [PATCH] [FIX]l10n_be: vat due tag on vat due rep line This commit aims to make the "due and deduced" taxes more consistent by assigning the "VAT due" tags to the "VAT due" repartition line. This way the tag representing the due VAT will be set on the account move line that represents the due VAT instead of the account move line that represents the deductible VAT. Behavior before commit: Due VAT tags is assigned on VAT to deduce account_move_line. Behavior after commit: Due VAT tags is assigned to the due VAT account_move_line. closes odoo/odoo#77891 X-original-commit: 59961cc68ef001dade87bd5ab77809efaab31a17 Signed-off-by: Josse Colpaert Signed-off-by: Brice Bartoletti --- .../data/account_tax_template_data.xml | 90 ++++++++++++------- 1 file changed, 60 insertions(+), 30 deletions(-) diff --git a/addons/l10n_be/data/account_tax_template_data.xml b/addons/l10n_be/data/account_tax_template_data.xml index 2de597323ef..daff0a80de8 100644 --- a/addons/l10n_be/data/account_tax_template_data.xml +++ b/addons/l10n_be/data/account_tax_template_data.xml @@ -1171,13 +1171,14 @@ 'factor_percent': 100, 'repartition_type': 'tax', 'account_id': ref('a411'), - 'plus_report_line_ids': [ref('tax_report_line_56'), ref('tax_report_line_59')], + 'plus_report_line_ids': [ref('tax_report_line_59')], }), (0,0, { 'factor_percent': -100, 'repartition_type': 'tax', 'account_id': ref('a451056'), + 'minus_report_line_ids': [ref('tax_report_line_56')], }), ]"/>