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.bar

Compute Method: _compute_foo

View 19.0
Inputs Method Outputs
  • name
+ for bar in self:
+             bar.foo = self.env['test_orm.foo'].search([('name', '=', bar.name)], limit=1)
  • foo

Back to entity