Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Employees Shifts
Entity: hr.shift.planning.shift
Compute Method: _compute_lines_data
| Inputs | Method | Outputs |
|---|---|---|
|
- for shift in self: - shift.lines_data = { - line.id: { - "day": dict(WEEK_DAYS_SELECTION).get(line.day_number), - "template": line.template_id.name, - "state": line.state, - "color": line.color, - } - for line in shift.line_ids - } |
|
