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

Module: Subscription management

Entity: sale.subscription

Compute Method: _compute_account_invoice_ids_count

Inputs Method Outputs
for record in self:
            record.account_invoice_ids_count = len(record.invoice_ids) + len(
                record.sale_order_ids.invoice_ids
            )

Back to entity