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.line
Description: Shift of the day for the employee
| Field | Description | Type | Relationship | Compute Method |
|---|---|---|---|---|
| color | Integer | template_id.color | ||
| day_number | Day | Selection | - | |
| duration_days | Duration (Days) | Float | - | _compute_duration |
| duration_hours | Duration (Hours) | Float | - | _compute_duration |
| employee_id | Many-to-One | shift_id.employee_id | ||
| end_hour | End hour | Float | template_id.end_time | |
| end_time | Datetime | - | _compute_shift_time | |
| planning_id | Many-to-One | shift_id.planning_id | ||
| resource_id | Many-to-One | employee_id.resource_id | ||
| reviewed | Boolean | - | ||
| shift_id | Many-to-One | hr.shift.planning.shift | ||
| start_date | Date | Date | - | _compute_start_date |
| start_hour | Start hour | Float | template_id.start_time | |
| start_time | Datetime | - | _compute_shift_time | |
| state | Selection | - | _compute_state | |
| template_id | Many-to-One | hr.shift.template | _compute_template_id |
