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.modified.line.positive

Compute Method: _compute_have_positive_line

View 20.0
Inputs Method Outputs
  • line_ids
+ for rec in self:
+             rec.is_positive = sum(rec.line_ids.mapped('quantity')) > 0
  • is_positive

Back to entity