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

Module: Partner Title

Entity: res.partner

Compute Method: _compute_name_with_title

Inputs Method Outputs
for partner in self:
            name = partner.name
            if not partner.is_company and partner.title_id:
                title = partner.title_id.shortcut or partner.title_id.name
                name = " ".join([title, name])
            partner.name_with_title = name

Back to entity