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

Module: Email Marketing

Entity: mailing.contact

Compute Method: _compute_name

View 17.0 View 19.0
Inputs Method Outputs
  • first_name
  • last_name
+ for record in self:
+             if record.first_name or record.last_name:
+                 record.name = ' '.join(name_part for name_part in (record.first_name, record.last_name) if name_part)
  • name

Back to entity