[FIX] l10n_it_edi: partner_info_xml_import

When uploading an invoice/bill from an xml,
if the partner is not found, the useful informations
from the xml file should be displayed in the chatter.

opw-3563769

closes odoo/odoo#144073

X-original-commit: 7f00f6e372b91f0a8927805bf4b92b7247ef8db8
Signed-off-by: Brice Bartoletti (bib) <bib@odoo.com>
Signed-off-by: Guillaume Vanleynseele (guva) <guva@odoo.com>
This commit is contained in:
guva-odoo
2023-11-30 11:44:55 +00:00
parent 1f4cc0f57a
commit 3ea508afea
+1 -1
View File
@@ -744,7 +744,7 @@ class AccountMove(models.Model):
else:
message = Markup("<br/>").join((
_("Vendor not found, useful informations from XML file:"),
self._compose_info_message(tree, './/CedentePrestatore')
self._compose_info_message(tree, '//CedentePrestatore')
))
message_to_log.append(message)