From 4bf3eb999e4d2c6e983459825f77a97c7137bbfc Mon Sep 17 00:00:00 2001 From: "Julien Alardot (jual)" Date: Thu, 1 Jun 2023 15:12:04 +0000 Subject: [PATCH] [FIX] l10n_es_edi_facturae: fix error when generating document Due to an unexpected positional parameter given in the function call, no document could be generated closes odoo/odoo#123376 X-original-commit: 2c5a2ca48d855ddbe89da770d97c52416818040d Signed-off-by: Laurent Smet Signed-off-by: Julien Alardot (jual) --- addons/l10n_es_edi_facturae/models/account_move_send.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/l10n_es_edi_facturae/models/account_move_send.py b/addons/l10n_es_edi_facturae/models/account_move_send.py index bf2fc8b86bd..a9466a658ec 100644 --- a/addons/l10n_es_edi_facturae/models/account_move_send.py +++ b/addons/l10n_es_edi_facturae/models/account_move_send.py @@ -58,7 +58,7 @@ class AccountMoveSend(models.Model): if self.l10n_es_edi_facturae_checkbox_xml and invoice._l10n_es_edi_facturae_get_default_enable(): try: - xml_content = invoice._l10n_es_edi_facturae_render_facturae(invoice) + xml_content = invoice._l10n_es_edi_facturae_render_facturae() except Exception as error: return { 'error': "".join((_("Errors occured while creating the EDI document (format: %s):", "Facturae"),