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

Module: Field Service - Subcontracting

Entity: fsm.order

Compute Method: _compute_purchase_order_count

Inputs Method Outputs
for order in self:
            order.purchase_order_count = len(order.purchase_order_ids)

Back to entity