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

Compute Method: _compute_bars

Inputs Method Outputs
self.env.context.get('log', []).append('compute')
for record in self:
            substrs = record.foo.split('/') + ['', '', '']
            record.bar1, record.bar2, record.bar3 = substrs[:3]

Back to entity