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

Module: Test ORM

Entity: test_orm.monetary_order

Compute Method: _compute_total

View 20.0
Inputs Method Outputs
  • line_ids
+ for record in self:
+             record.total = sum(line.subtotal for line in record.line_ids)
  • total

Back to entity