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.company.attr

Compute Method: _compute_bar

View 20.0
Inputs Method Outputs
  • company
  • company.foo
  • quantity
+ for record in self:
+             record.bar = (record.company.foo or '') * record.quantity
  • bar

Back to entity