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

Module: Purchase Agreements

Entity: purchase.requisition

Compute Method: _compute_orders_number

Inputs Method Outputs
for requisition in self:
            requisition.order_count = len(requisition.purchase_ids)

Back to entity