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

Module: Test API

Entity: test_new_api.bar

Compute Method: _compute_foo

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

Back to entity