From 4bd4f4fe8d371fca431dbd930ab354d99e93ea11 Mon Sep 17 00:00:00 2001 From: matteoopenf Date: Tue, 21 May 2024 11:13:45 +0200 Subject: [PATCH] [FIX][l10n_it_vat_statement_communication] fix encoding file and remove zero value from xml in according the specification of ADE [FIX][l10n_it_vat_statement_communication] fix encoding file and remove zero value from xml in according the specification of ADE [FIX][l10n_it_vat_statement_communication] fix encoding file and remove zero value from xml in according the specification of ADE [FIX][l10n_it_vat_statement_communication] fix encoding file and remove zero value from xml in according the specification of ADE [FIX][l10n_it_vat_statement_communication] fix encoding file and remove zero value from xml in according the specification of ADE [FIX][l10n_it_vat_statement_communication] fix encoding file and remove zero value from xml in according the specification of ADE [FIX][l10n_it_vat_statement_communication] fix encoding file and remove zero value from xml in according the specification of ADE [FIX][l10n_it_vat_statement_communication] fix encoding file and remove zero value from xml in according the specification of ADE [FIX][l10n_it_vat_statement_communication] fix encoding file and remove zero value from xml in according the specification of ADE --- .../models/comunicazione_liquidazione.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/l10n_it_vat_statement_communication/models/comunicazione_liquidazione.py b/l10n_it_vat_statement_communication/models/comunicazione_liquidazione.py index a9253509822b..82794360e64a 100644 --- a/l10n_it_vat_statement_communication/models/comunicazione_liquidazione.py +++ b/l10n_it_vat_statement_communication/models/comunicazione_liquidazione.py @@ -139,7 +139,11 @@ def get_export_xml(self): x1_Fornitura.append(x1_2_Comunicazione) xml_string = etree.tostring( - x1_Fornitura, encoding="utf8", method="xml", pretty_print=True + x1_Fornitura, + encoding="utf8", + method="xml", + pretty_print=True, + xml_declaration=True, ) return xml_string