Skip to content

Commit

Permalink
Merge PR OCA#510 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by alexis-via
  • Loading branch information
OCA-git-bot committed Jan 19, 2024
2 parents acf0c9e + a3dc890 commit 64016fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions l10n_fr_intrastat_service/models/intrastat_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,7 @@ def generate_xml(self):
if not self.declaration_line_ids:
return
root = self._generate_des_xml_root()
objectify.deannotate(root, xsi_nil=True)
etree.cleanup_namespaces(root)
objectify.deannotate(root, xsi_nil=True, cleanup_namespaces=True)
xml_bytes = etree.tostring(
root, pretty_print=True, encoding="UTF-8", xml_declaration=True
)
Expand Down

0 comments on commit 64016fc

Please sign in to comment.