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

Module: Live Chat

Entity: mail.message

Compute Method: _compute_parent_author_name

View 18.0
Inputs Method Outputs
  • parent_id
  • parent_id.author_id
  • parent_id.author_guest_id
- for message in self:
-             author = message.parent_id.author_id or message.parent_id.author_guest_id
-             message.parent_author_name = author.name if author else False
  • parent_author_name

Back to entity