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

Module: Test ORM

Entity: test_orm.message

Compute Method: _compute_name

View 19.0
Inputs Method Outputs
  • discussion
  • discussion.name
  • author
  • author.name
- for message in self:
-             message.name = self.env.context.get('compute_name',
-                 "[%s] %s" % (message.discussion.name or '', message.author.name or ''))
  • name

Back to entity