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

Module: Accounting - MRP

Entity: account.analytic.account

Compute Method: _compute_workorder_count

Inputs Method Outputs
for account in self:
            account.workorder_count = len(account.workcenter_ids.order_ids | account.production_ids.workorder_ids)

Back to entity