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.compute.onchange

Compute Method: _compute_baz

View 20.0
Inputs Method Outputs
  • active
  • foo
+ for record in self:
+             if record.active:
+                 record.baz = (record.foo or "") + "z"
  • baz

Back to entity