Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Employees
Entity: hr.employee
Compute Method: _compute_work_location_name
| Inputs | Method | Outputs |
|---|---|---|
|
+ dayfield = self.env['hr.employee']._get_current_day_location_field() + for employee in self: + current_location = employee.exceptional_location_id or employee[dayfield] + employee.work_location_name = current_location.name |
|
