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

Module: Purchase Request

Entity: purchase.request

Compute Method: _compute_estimated_cost

Inputs Method Outputs
for rec in self:
            rec.estimated_cost = sum(rec.line_ids.mapped("estimated_cost"))

Back to entity