Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Commissions

Entity: commission.settlement

Compute Method: _compute_total

Inputs Method Outputs
for record in self:
            record.total = sum(record.mapped("line_ids.settled_amount"))

Back to entity