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

Compute Method: _compute_size

Inputs Method Outputs
for record in self:
            record.size = sum(record.line_ids.mapped('size'))

Back to entity