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

Module: Contracts Management - Recurring Sales

Entity: contract.contract

Compute Method: _compute_sale_count

Inputs Method Outputs
for rec in self:
            rec.sale_count = len(rec._get_related_sales())

Back to entity