Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Import/Export Invoices From XML/PDF

Entity: account.journal

Compute Method: _compute_compatible_edi_ids

Inputs Method Outputs
edi_formats = self.env['account.edi.format'].search([])
for journal in self:
            compatible_edis = edi_formats.filtered(lambda e: e._is_compatible_with_journal(journal))
            journal.compatible_edi_ids = compatible_edis

Back to entity