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

Module: POS - Product Template

Entity: product.product

Compute Method: _compute_template_name

Inputs Method Outputs
  • product_tmpl_id
  • product_tmpl_id.display_name
for record in self:
            record.template_name = record.product_tmpl_id.display_name

Back to entity