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

Module: Datev Export XML

Entity: datev.export.xml

Compute Method: _compute_invoices_count

Inputs Method Outputs
for rec in self:
            rec.invoices_count = len(rec.invoice_ids)
            rec.invoices_exported_count = len(rec.mapped("line_ids.invoice_ids"))

Back to entity