Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Work Entries
Entity: hr.work.entry
Compute Method: _compute_name
| Inputs | Method | Outputs |
|---|---|---|
|
- for work_entry in self: - if not work_entry.employee_id: - work_entry.name = _('Undefined') - else: - work_entry.name = "%s: %s" % (work_entry.work_entry_type_id.name or _('Undefined Type'), work_entry.employee_id.name) |
|
