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

Module: ITA - Documento di trasporto

Entity: stock.delivery.note

Compute Method: _compute_amount_total

Inputs Method Outputs
for sdn in self:
            sdn.untaxed_amount_total = (
                sum(line.untaxed_amount or 0.0 for line in sdn.line_ids) or 0.0
            )
            sdn.amount_total = sum(line.amount or 0.0 for line in sdn.line_ids) or 0.0

Back to entity