[IMP] l10n_es_edi_facturae: include edi documents when mass export
in the following commit https://github.com/odoo/odoo/commit/f8654b3501aca6e5d77ced5f73cb351c61684cd2 , we fixed the feature to mass export edi documents from the journal entries list view. However, we forgot to include the Spain localization edi documents to be included in the export. task-3477482 closes odoo/odoo#135072 X-original-commit: e62e1a647991fdd1ed38486b1a00f8de2812768c Signed-off-by: Laurent Smet (las) <las@odoo.com> Signed-off-by: Hugo Poncelet (hupo) <hupo@odoo.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user