diff --git a/addons/l10n_es_edi_facturae/models/account_move.py b/addons/l10n_es_edi_facturae/models/account_move.py index 2fc9c206bfb..c2c40afa927 100644 --- a/addons/l10n_es_edi_facturae/models/account_move.py +++ b/addons/l10n_es_edi_facturae/models/account_move.py @@ -375,3 +375,7 @@ class AccountMove(models.Model): except ValueError: errors.append(_('No valid certificate found for this company, Facturae EDI file will not be signed.\n')) return xml_content, errors + + def _get_edi_doc_attachments_to_export(self): + # EXTENDS 'account' + return super()._get_edi_doc_attachments_to_export() + self.l10n_es_edi_facturae_xml_id