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.template.line

Compute Method: _compute_name

Inputs Method Outputs
for line in self:
            if not line.product_id:
                continue
            line.name = line._get_default_description()

Back to entity