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

Module: Template Content Swapper

Entity: template.content.mapping

Compute Method: _compute_name

Inputs Method Outputs
for record in self:
            record.name = False
            if record.content_from:
                record.name = f"{record.content_from} -> {record.content_to or ''}"

Back to entity