Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Time Off
Entity: hr.leave.allocation
Description: Time Off Allocation
| Field | Description | Type | Relationship | Compute Method |
|---|---|---|---|---|
| accrual_plan_id | Many-to-One | hr.leave.accrual.plan |
|
|
| active | - | |||
| allocation_type | - | |||
| allowed_work_entry_type_ids | Many-to-Many |
|
_compute_allowed_work_entry_type_ids | |
| already_accrued | - | |||
| can_approve | Can Approve | Boolean | - | _compute_can_approve |
| can_refuse | Can Refuse | Boolean | - | _compute_can_refuse |
| can_validate | Can Validate | Boolean | - | _compute_can_validate |
| carried_over_days_expiration_date | Carried over days expiration date | Date | - | |
| category_id |
|
|
||
| department_id | Department | Many-to-One | hr.department | _compute_department_id |
| duration_display | Allocated (Days/Hours) | Char | - | _compute_duration_display |
| employee_id | Employee | Many-to-One | hr.employee |
|
| employee_ids |
|
|
||
| has_accrual_plan | - |
|
||
| hide_accrual_plan_id | Boolean | - | _compute_hide_accrual_plan_id | |
| holiday_status_id |
|
|
||
| holiday_type | - | |||
| is_name_custom | Boolean | - | ||
| last_accrual | Date of the last accrual allocation | Date | - | |
| lastcall | Date | - | ||
| leaves_taken | Time off Taken | Float | - | _compute_leaves |
| linked_request_ids |
|
|||
| max_leaves | Float | - | _compute_leaves | |
| mode_company_id |
|
|
||
| multi_employee | - |
|
||
| name | Description | Char | - | _compute_description |
| name_validity | Description with validity | Char | - | _compute_description_validity |
| nextcall | Date | - | ||
| number_of_days | Number of Days | Float | - |
|
| number_of_hours | Duration (hours) | Float | - | _compute_number_of_hours |
| number_of_hours_display | - |
|
||
| parent_id |
|
|||
| previous_carryover_number_of_days | The number of days on previous carryover date | Float | - | |
| private_name | - | |||
| second_approver_id | Second Approval | Many-to-One |
|
|
| validation_type | Validation Type | Selection |
|
|
| virtual_remaining_leaves | Available Time Off | Float | - | _compute_leaves |
| work_entry_type_id | Time Type | Many-to-One |
|
_compute_work_entry_type_id |
| yearly_accrued_days | Number of accrued days since the last carryover | Float | - |
