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

Module: Event CRM

Entity: event.registration

Compute Method: _compute_lead_count

Inputs Method Outputs
for record in self:
            record.lead_count = len(record.with_context(active_test=False).lead_ids)

Back to entity