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.sale_order_count = len(move.line_ids.sale_line_ids.order_id)
Back to entity