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

Compute Method: _compute_container

Inputs Method Outputs
container = self.env['test_orm.compute.container']
for member in self:
            member.container_id = container.search([('name', '=', member.name)], limit=1)

Back to entity