Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
for move in self: move.purchase_order_count = len(move.invoice_line_ids.purchase_line_id.order_id)
Back to entity