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

Module: Manage model export profiles

Entity: ir.exports.line

Compute Method: _compute_name

Inputs Method Outputs
"""Get the name from the selected fields."""
for one in self:
            name = "/".join(
                one.field_n(num).name for num in range(1, 5) if one.field_n(num)
            )
            if name != one.name:
                one.name = name

Back to entity