From e882bf4c1d30896984b73ca931ffa05e0f920414 Mon Sep 17 00:00:00 2001 From: Brice bib Bartoletti <bib@odoo.com> Date: Thu, 3 Aug 2023 12:50:25 +0000 Subject: [PATCH] [FIX] l10n_at: tax template repartition lines 1) The aim of this commit is to make the tax template more consistent with the instanciated tax. Indeed a tax wouldn't pass the constrains if it hadn't all its repartition line. 2) Make the refund consistent with the rest of the taxes. closes odoo/odoo#132542 Task-id: None X-original-commit: c8603a9eef5865d92c44daf7fba99ac3e266388f Signed-off-by: Florian Gilbert (flg) <flg@odoo.com> --- addons/l10n_at/data/account_tax_template.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/addons/l10n_at/data/account_tax_template.xml b/addons/l10n_at/data/account_tax_template.xml index f8867350ea51..0720beb23c32 100644 --- a/addons/l10n_at/data/account_tax_template.xml +++ b/addons/l10n_at/data/account_tax_template.xml @@ -1438,6 +1438,20 @@ 'minus_report_line_ids': [ref('tax_report_line_l10n_at_tva_line_4_33')], }), ]"/> + <field name="refund_repartition_line_ids" eval="[(5, 0, 0), + (0,0,{ + 'factor_percent': 100, + 'repartition_type': 'base', + 'minus_report_line_ids': [ref('tax_report_line_l10n_at_tva_line_4_33'), + ref('tax_report_line_l10n_at_tva_line_4_17_base')], + }), + (0,0,{ + 'factor_percent': 100, + 'repartition_type': 'tax', + 'account_id': ref('chart_at_template_3505'), + 'plus_report_line_ids': [ref('tax_report_line_l10n_at_tva_line_4_33')], + }), + ]"/> </record> <!-- Vorlagen: Einkauf (Vorsteuer) --> -- GitLab