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

Module: Sales

Entity: sale.order.line

Compute Method: _compute_product_template_id

Inputs Method Outputs
for line in self:
            line.product_template_id = line.product_id.product_tmpl_id

Back to entity