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

Compute Method: _compute_quantity

Inputs Method Outputs
for record in self:
            record.quantity = sum(line.quantity for line in record.line_ids)

Back to entity