Skip to Content
Odoo model

hr.leave.allocation

Time Off Allocation. Defined in module hr_holidays; exists in Odoo 16, 17, 18, 19, 20. Across the upgrade steps we tracked: 28 fields added, 25 removed, 0 renamed.

  1. Odoo 16 hr_holidays
  2. Odoo 17 hr_holidays
  3. Odoo 18 hr_holidays
  4. Odoo 19 hr_holidays
  5. Odoo 20 hr_holidays

Odoo 16 to 17

Community only All changes in this step

Fields removed (2)

FieldTypeModuleNotes
can_resetbooleanhr_holidays
taken_leave_idsone2manyhr_holidays

Fields added (2)

FieldTypeModule
already_accruedbooleanhr_holidays
has_accrual_planbooleanhr_holidays
1 actions on this model removed
  • hr_holidays.action_report_holidayssummary2

Odoo 17 to 18

Community only All changes in this step

Fields removed (11)

FieldTypeModuleNotes
activebooleanhr_holidays
category_idmany2onehr_holidays
employee_idsmany2manyhr_holidays
has_accrual_planbooleanhr_holidays
holiday_typeselectionhr_holidays
hr_attendance_overtimebooleanhr_holidays_attendance
linked_request_idsone2manyhr_holidays
mode_company_idmany2onehr_holidays
multi_employeebooleanhr_holidays
parent_idmany2onehr_holidays
private_namecharhr_holidays

Fields added (7)

FieldTypeModule
actual_lastcalldatehr_holidays
carried_over_days_expiration_datedatehr_holidays
expiring_carryover_daysfloathr_holidays
is_name_custombooleanhr_holidays
last_executed_carryover_datedatehr_holidays
second_approver_idmany2onehr_holidays
yearly_accrued_amountfloathr_holidays

Odoo 18 to 19

Community + Enterprise All changes in this step

Fields removed (1)

FieldTypeModuleNotes
overtime_idmany2onehr_holidays_attendance

Fields added (3)

FieldTypeModule
can_refusebooleanhr_holidays
can_validatebooleanhr_holidays
virtual_remaining_leavesfloathr_holidays
2 views of this model removed
  • hr_holidays_attendance.hr_leave_allocation_overtime_view_form
  • hr_payroll_holidays.view_hr_leave_allocation_inherit_filter
2 actions on this model removed
  • hr_holidays.ir_actions_server_approve_allocations
  • hr_holidays_attendance.hr_leave_allocation_overtime_action

Odoo 19 to 20

Community + Enterprise All changes in this step

Fields removed (11)

FieldTypeModuleNotes
actual_lastcalldatehr_holidays
allocation_typeselectionhr_holidays
already_accruedbooleanhr_holidays
employee_overtimefloathr_holidays_attendance
expiring_carryover_daysfloathr_holidays
holiday_status_idmany2onehr_holidays
last_executed_carryover_datedatehr_holidays
max_leaves_allocatedfloatl10n_be_hr_payroll
number_of_hours_displayfloathr_holidays
overtime_deductiblebooleanhr_holidays_attendance
yearly_accrued_amountfloathr_holidays

Fields added (16)

Show all 16
FieldTypeModule
allowed_work_entry_type_idsmany2manyhr_holidays
eligibility_warningcharl10n_be_hr_payroll
hide_accrual_plan_idbooleanhr_holidays
jc_allocation_infocharl10n_be_hr_payroll
l10n_be_hours_remainingfloatl10n_be_hr_payroll
l10n_be_hours_takenfloatl10n_be_hr_payroll
l10n_be_hours_trackedbooleanl10n_be_hr_payroll
l10n_be_negative_balance_warningcharl10n_be_hr_payroll
l10n_us_allocation_datajsonl10n_us_hr_payroll
last_accrualdatehr_holidays
linked_drs_idsone2manyl10n_be_hr_payroll
number_of_hoursfloathr_holidays
previous_carryover_number_of_daysfloathr_holidays
public_holiday_idmany2onel10n_be_hr_payroll
work_entry_type_idmany2onehr_holidays
yearly_accrued_daysfloathr_holidays
2 views of this model removed
  • hr_holidays_attendance.hr_attendance_holidays_hr_leave_allocation_view_form_inherit
  • hr_holidays_gantt.hr_leave_allocation_gantt_view

All fields declared on hr.leave.allocation (71)

Fields this model declares itself in any version, with the versions they exist in. Inherited fields (mail.thread and other mixins) are on the parent model's page.

present not present not covered (Enterprise, Odoo 16 and 17)

Show all 71 fields
FieldTypeLabelModule1617181920
accrual_plan_idmany2one hr.leave.accrual.planhr_holidays
activebooleanhr_holidays
active_employeebooleanActive Employeehr_holidays
actual_lastcalldatehr_holidays
allocation_typeselectionAllocation Typehr_holidays
allowed_work_entry_type_idsmany2many hr.work.entry.typehr_holidays
already_accruedbooleanhr_holidays
approver_idmany2one hr.employeeFirst Approvalhr_holidays
can_approvebooleanCan Approvehr_holidays
can_refusebooleanCan Refusehr_holidays
can_resetbooleanCan resethr_holidays
can_validatebooleanCan Validatehr_holidays
carried_over_days_expiration_datedateCarried over days expiration datehr_holidays
category_idmany2one hr.employee.categoryEmployee Taghr_holidays
date_fromdateStart Datehr_holidays
date_todateEnd Datehr_holidays
department_idmany2one hr.departmentDepartmenthr_holidays
duration_displaycharAllocated (Days/Hours)hr_holidays
eligibility_warningcharl10n_be_hr_payrollE
employee_company_idmany2onehr_holidays
employee_idmany2one hr.employeeEmployeehr_holidays
employee_idsmany2many hr.employeeEmployeeshr_holidays
employee_overtimefloathr_holidays_attendance
expiring_carryover_daysfloatThe number of carried over days that will expire on carried_over_days_expiration_datehr_holidays
has_accrual_planbooleanAccrual Plan Availablehr_holidays
hide_accrual_plan_idbooleanhr_holidays
holiday_status_idmany2one hr.leave.typeTime Off Typehr_holidays
holiday_typeselectionAllocation Modehr_holidays
hr_attendance_overtimebooleanhr_holidays_attendance
is_name_custombooleanhr_holidays
is_officerbooleanhr_holidays
jc_allocation_infocharl10n_be_hr_payrollE
l10n_be_hours_remainingfloatl10n_be_hr_payrollE
l10n_be_hours_takenfloatl10n_be_hr_payrollE
l10n_be_hours_trackedbooleanl10n_be_hr_payrollE
l10n_be_negative_balance_warningcharl10n_be_hr_payrollE
l10n_us_allocation_datajsonAllocation data for accruall10n_us_hr_payrollE
last_accrualdateDate of the last accrual allocationhr_holidays
last_executed_carryover_datedatehr_holidays
lastcalldateDate of the last executed accrual event (accrual, carryover date, expiring carriedover days, ...)hr_holidays
leaves_takenfloatTime off Takenhr_holidays
linked_drs_idsone2many l10n.be.drsl10n_be_hr_payrollE
linked_request_idsone2many hr.leave.allocationLinked Requestshr_holidays
manager_idmany2one hr.employeeManagerhr_holidays
max_leavesfloathr_holidays
max_leaves_allocatedfloatMax Leaves Allocatedl10n_be_hr_payrollE
mode_company_idmany2one res.companyCompany Modehr_holidays
multi_employeebooleanhr_holidays
namecharDescriptionhr_holidays
name_validitycharDescription with validityhr_holidays
nextcalldateDate of the closest next accrual event (accrual, carryover date, expiring carriedover days, ...)hr_holidays
notestextReasonshr_holidays
number_of_daysfloatNumber of Dayshr_holidays
number_of_days_displayfloatDuration (days)hr_holidays
number_of_hoursfloatDuration (hours)hr_holidays
number_of_hours_displayfloatDuration (hours)hr_holidays
overtime_deductiblebooleanhr_holidays_attendance
overtime_idmany2one hr.attendance.overtimeExtra Hourshr_holidays_attendance
parent_idmany2one hr.leave.allocationParenthr_holidays
previous_carryover_number_of_daysfloatThe number of days on previous carryover datehr_holidays
private_namecharAllocation Descriptionhr_holidays
public_holiday_idmany2one resource.calendar.leavesPublic Holidayl10n_be_hr_payrollE
second_approver_idmany2one hr.employeeSecond Approvalhr_holidays
stateselectionStatushr_holidays
taken_leave_idsone2many hr.leavehr_holidays
type_request_unitselectionhr_holidays
validation_typeselectionValidation Typehr_holidays
virtual_remaining_leavesfloatAvailable Time Offhr_holidays
work_entry_type_idmany2one hr.work.entry.typeTime Typehr_holidays
yearly_accrued_amountfloathr_holidays
yearly_accrued_daysfloatNumber of accrued days since the last carryoverhr_holidays
Coverage. Odoo 16 to 17 and 17 to 18 compare Community modules only (the Enterprise 16 and 17 sources are not available to us). Odoo 18 to 19 and 19 to 20 include Community and Enterprise modules. Everything here comes from a static read of the Odoo source code: a field counts as removed only when no parent model, mixin or delegated model still provides it. Fields created dynamically at run time can be missed, and entries we could not confirm are marked as low confidence.