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

Module: Maintenance Projects

Entity: project.project

Compute Method: _compute_maintenance_request_count

Inputs Method Outputs
for project in self:
            project.maintenance_request_count = len(
                project.maintenance_request_ids.filtered(lambda x: not x.stage_id.done)
            )

Back to entity