Skip to content

Commit

Permalink
[FIX]l10n_it_vat_statement_communication: fix encoding file
Browse files Browse the repository at this point in the history
 remove zero value from xml in according the specification of ADE and fix encoding
  • Loading branch information
matteoopenf committed Jul 10, 2024
1 parent b602391 commit 423c646
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 423c646

Please sign in to comment.