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

Module: Sale Purchase

Entity: sale.order

Compute Method: _compute_purchase_order_count

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

Back to entity