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

View 19.0 View 20.0

Description: Time Off Allocation

Field Description Type Relationship Compute Method
accrual_plan_id Many-to-One hr.leave.accrual.plan _compute_accrual_plan_id
actual_lastcall Date -
allocation_type Allocation Type Selection -
allowed_work_entry_type_ids Many-to-Many - hr.work.entry.type _compute_allowed_work_entry_type_ids
already_accrued Boolean -
duration_display Allocated (Days/Hours) Char - _compute_duration_display
expiring_carryover_days The number of carried over days that will expire on carried_over_days_expiration_date Float -
hide_accrual_plan_id Boolean - _compute_hide_accrual_plan_id
holiday_status_id Time Off Type Many-to-One hr.leave.type - _compute_holiday_status_id
last_accrual Date of the last accrual allocation Date -
last_executed_carryover_date Date -
lastcall Date of the last accrual allocation Date of the last executed accrual event (accrual, carryover date, expiring carriedover days, ...) Date -
leaves_taken Time off Taken Float - _compute_leaves
max_leaves Float - _compute_leaves
nextcall Date of the next accrual allocation Date of the closest next accrual event (accrual, carryover date, expiring carriedover days, ...) Date -
number_of_days Number of Days Float - _compute_number_of_days
number_of_hours Duration (hours) Float - _compute_number_of_hours
number_of_hours_display Duration (hours) Float - _compute_number_of_hours_display
previous_carryover_number_of_days The number of days on previous carryover date Float -
validation_type Validation Type Selection holiday_status_id.allocation_validation_type work_entry_type_id.allocation_validation_type
virtual_remaining_leaves Available Time Off Float - _compute_leaves
work_entry_type_id Time Type Many-to-One - hr.work.entry.type _compute_work_entry_type_id
yearly_accrued_amount Float -
yearly_accrued_days Number of accrued days since the last carryover Float -