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

Module: Purchase landed costs - Alternative option

Entity: purchase.cost.distribution

Compute Method: _compute_amount_total

Inputs Method Outputs
for distribution in self:
            distribution.amount_total = (
                distribution.total_purchase + distribution.total_expense
            )

Back to entity