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_problematic_invoices_count

Inputs Method Outputs
for rec in self:
            rec.problematic_invoices_count = len(
                rec.invoice_ids.filtered("datev_validation")
            )

Back to entity