Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Automation Oca
Entity: automation.record
Compute Method: _compute_name
| Inputs | Method | Outputs |
|---|---|---|
|
- for record in self: - if not record.is_orphan_record: - record.name = self.env[record.model].browse(record.res_id).display_name - else: - record.name = _("Orphan Record") |
|
