Skip to Content
Odoo model

hr.leave.type

Time Off Type. Defined in module hr_holidays; exists in Odoo 16, 17, 18, 19. Across the upgrade steps we tracked: 14 fields added, 11 removed, 0 renamed, 2 type changes.

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

Odoo 16 to 17

Community only All changes in this step

Fields removed (5)

FieldTypeModuleNotes
closest_allocation_to_expiremany2onehr_holidays
color_nameselectionhr_holidays
remaining_leavesfloathr_holidays
responsible_idmany2onehr_holidays
virtual_leaves_takenfloathr_holidays

Fields added (3)

FieldTypeModule
allows_negativebooleanhr_holidays
max_allowed_negativeintegerhr_holidays
responsible_idsmany2manyhr_holidays

Odoo 17 to 18

Community only All changes in this step

Fields removed (1)

FieldTypeModuleNotes
hr_attendance_overtimebooleanhr_holidays_attendance

Fields added (5)

FieldTypeModule
country_codecharhr_holidays
country_idmany2onehr_holidays
include_public_holidays_in_durationbooleanhr_holidays
l10n_in_is_sandwich_leavebooleanl10n_in_hr_holidays
show_on_dashboardbooleanhr_holidays

Odoo 18 to 19

Community + Enterprise All changes in this step

Fields removed (5)

FieldTypeModuleNotes
l10n_sa_is_compensablebooleanl10n_sa_hr_payroll
show_on_dashboardbooleanhr_holidays
timesheet_generatebooleanproject_timesheet_holidays
timesheet_project_idmany2oneproject_timesheet_holidays
timesheet_task_idmany2oneproject_timesheet_holidays

Fields added (6)

FieldTypeModule
allow_request_on_topbooleanhr_holidays
elligible_for_accrual_ratebooleanhr_holidays
hide_on_dashboardbooleanhr_holidays
is_usedbooleanhr_holidays
l10n_be_no_consecutive_leaves_allowedbooleanl10n_be_hr_payroll
l10n_in_is_limited_to_optional_daysbooleanl10n_in_hr_holidays

Type changed (2)

FieldOdoo 18Odoo 19
employee_requests selectionboolean
requires_allocation selectionboolean
2 views of this model removed
  • l10n_sa_hr_payroll.hr_leave_type_view_form
  • project_timesheet_holidays.hr_holiday_status_view_form_inherit

Odoo 19 to 20

Community + Enterprise All changes in this step

Removed in Odoo 20.

12 views of this model removed
  • hr_holidays.edit_holiday_status_form
  • hr_holidays.hr_holiday_status_view_kanban
  • hr_holidays.view_holiday_status_normal_tree
  • hr_holidays.view_holidays_status_filter
  • hr_holidays_attendance.hr_leave_type_view_form
  • hr_work_entry_holidays.view_holiday_status_normal_tree
  • hr_work_entry_holidays.work_entry_type_leave_form_inherit
  • l10n_ae_hr_payroll.hr_leave_type_view_form
  • l10n_au_hr_payroll.edit_holiday_status_form
  • l10n_be_hr_payroll.l10n_be_hr_payroll_leave_form_inherit
  • l10n_in_hr_holidays.hr_leave_type_view_form_inherit
  • l10n_us_hr_payroll.leave_type_form_view
1 actions on this model removed
  • hr_holidays.open_view_holiday_status

All fields declared on hr.leave.type (56)

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 56 fields
FieldTypeLabelModule1617181920
accrual_countfloatAccruals counthr_holidays
accruals_idsone2many hr.leave.accrual.planhr_holidays
activebooleanActivehr_holidays
allocation_countintegerAllocationshr_holidays
allocation_notif_subtype_idmany2one mail.message.subtypeAllocation Notification Subtypehr_holidays
allocation_validation_typeselectionApprovalhr_holidays
allow_request_on_topbooleanAllow Request on Tophr_holidays
allows_negativebooleanAllow Negative Caphr_holidays
closest_allocation_to_expiremany2one hr.leave.allocationAllocationhr_holidays
colorintegerColorhr_holidays
color_nameselectionColor in Reporthr_holidays
company_idmany2one res.companyCompanyhr_holidays
country_codecharhr_holidays
country_idmany2one res.countryCountryhr_holidays
create_calendar_meetingbooleanDisplay Time Off in Calendarhr_holidays
elligible_for_accrual_ratebooleanEligible for Accrual Ratehr_holidays
employee_requestsbooleanAllow Employee Requestshr_holidays
group_days_leavefloatGroup Time Offhr_holidays
has_valid_allocationbooleanhr_holidays
hide_on_dashboardbooleanHide On Dashboardhr_holidays
hr_attendance_overtimebooleanhr_holidays_attendance
icon_idmany2one ir.attachmentCover Imagehr_holidays
include_public_holidays_in_durationbooleanIgnore Public Holidayshr_holidays
is_usedbooleanhr_holidays
l10n_ae_is_annual_leavebooleanIs Annual Leavel10n_ae_hr_payrollE
l10n_au_leave_typeselectionUnused Leave Typel10n_au_hr_payrollE
l10n_be_no_consecutive_leaves_allowedbooleanNo Consecutive Leaves Allowedl10n_be_hr_payrollE
l10n_ch_swissdec_payroll_impactbooleanImpacts Swiss Payrolll10n_ch_hr_payrollE
l10n_ch_swissdec_work_interruptionbooleanWork Interruptionl10n_ch_hr_payrollE
l10n_in_is_limited_to_optional_daysbooleanl10n_in_hr_holidays
l10n_in_is_sandwich_leavebooleanl10n_in_hr_holidays
l10n_sa_is_compensablebooleanIs Eligible for KSA Paid Compensation?l10n_sa_hr_payrollE
l10n_us_show_on_payslipbooleanShow On Payslipl10n_us_hr_payrollE
leave_notif_subtype_idmany2one mail.message.subtypeTime Off Notification Subtypehr_holidays
leave_validation_typeselectionTime Off Validationhr_holidays
leaves_takenfloatTime off Already Takenhr_holidays
max_allowed_negativeintegerMaximum Excess Amounthr_holidays
max_leavesfloatMaximum Allowedhr_holidays
namecharTime Off Typehr_holidays
overtime_deductiblebooleanDeduct Extra Hourshr_holidays_attendance
remaining_leavesfloatRemaining Time Offhr_holidays
request_unitselectionDuration Typehr_holidays
requires_allocationbooleanRequires allocationhr_holidays
responsible_idmany2one res.usersResponsible Time Off Officerhr_holidays
responsible_idsmany2many res.usersNotify HRhr_holidays
sequenceintegerhr_holidays
show_on_dashboardbooleanhr_holidays
support_documentbooleanSupporting Documenthr_holidays
time_typeselectionKind of Time Offhr_holidays
timesheet_generatebooleanGenerate Timesheetsproject_timesheet_holidays
timesheet_project_idmany2one project.projectProjectproject_timesheet_holidays
timesheet_task_idmany2one project.taskTaskproject_timesheet_holidays
unpaidbooleanIs Unpaidhr_holidays
virtual_leaves_takenfloatVirtual Time Off Already Takenhr_holidays
virtual_remaining_leavesfloatVirtual Remaining Time Offhr_holidays
work_entry_type_idmany2one hr.work.entry.typeWork Entry Typehr_work_entry_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.