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

Compute Method: _compute_bars

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

Back to entity