0% found this document useful (0 votes)
9 views21 pages

Technical Guide

The document is an introspection report on the 'hr_holidays' module, which manages time off requests and allocations for employees. It details the functionalities, configurations, and reporting options available for managing time off, including types of leave, approval processes, and synchronization with internal agendas. Additionally, it outlines the various objects and their attributes related to time off management within the system.

Uploaded by

ravenbergjared
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views21 pages

Technical Guide

The document is an introspection report on the 'hr_holidays' module, which manages time off requests and allocations for employees. It details the functionalities, configurations, and reporting options available for managing time off, including types of leave, approval processes, and synchronization with internal agendas. Additionally, it outlines the various objects and their attributes related to time off management within the system.

Uploaded by

ravenbergjared
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

2025-06-12 14:35 YourCompany 1 / 21

Introspection report on objects

Module Name Version Directory Web

hr_holidays Time Off 18.0.1.6 hr_holidays https://www.odoo.com/app/time-off

Manage time off requests and allocations


=====================================

This application controls the time off schedule of your company. It allows employees to request time off. Then, managers can review
requests for time off and approve or reject them. This way you can control the overall time off planning for the company or
department.

You can configure several kinds of time off (sickness, paid days, ...) and allocate time off to an employee or department quickly using
time off allocation. An employee can also make a request for more days off by making a new time off allocation. It will increase the
total of available days for that time off type (if the request is accepted).

You can keep track of time off in different ways by following reports:

* Time Off Summary


* Time Off by Department
* Time Off Analysis

A synchronization with an internal agenda (Meetings of the CRM module) is also possible in order to automatically create a meeting
when a time off request is accepted by setting up a type of meeting in time off Type.
Reports:
Time Off Summary
Menu:
Time Off
Time Off/Configuration
Time Off/Configuration/Accrual Plans
Time Off/Configuration/Activity Types
Time Off/Configuration/Mandatory Days
Time Off/Configuration/Public Holidays
Time Off/Configuration/Time Off Types
Time Off/Management
Time Off/Management/Allocations
Time Off/Management/Time Off
Time Off/My Time
Time Off/My Time/Dashboard
2025-06-12 14:35 YourCompany 2 / 21

Time Off/My Time/My Allocations


Time Off/My Time/My Time Off
Time Off/Overview
Time Off/Reporting
Time Off/Reporting/Balance
Time Off/Reporting/by Employee
Time Off/Reporting/by Type
View:
* INHERIT hr.department.kanban.inherit (kanban)
* INHERIT hr.employee.kanban.leaves.status (kanban)
* INHERIT hr.employee.leave.form.inherit (form)
* INHERIT hr.employee.list.leave (list)
* INHERIT hr.employee.public.kanban.leaves.status (kanban)
* INHERIT hr.employee.public.leave.form.inherit (form)
* INHERIT hr.employee.search.view.inherit (search)
* INHERIT hr.holidays.view.list (list)
* INHERIT hr.holidays.view.search.manager (search)
* INHERIT hr.holidays.view.search.my (search)
* INHERIT hr.holidays.view.search.report (search)
* INHERIT hr.leave.allocation.view.form.manager (form)
* INHERIT hr.leave.allocation.view.form.manager.dashboard (form)
* INHERIT hr.leave.allocation.view.list.my (list)
* INHERIT hr.leave.allocation.view.search.my (search)
* INHERIT hr.leave.allocation.view.search.my (search)
* INHERIT hr.leave.view.form.dashboard (form)
* INHERIT hr.leave.view.form.dashboard (form)
* INHERIT hr.leave.view.form.dashboard.new.time.off (form)
* INHERIT hr.leave.view.form.manager (form)
* INHERIT hr.leave.view.kanban.approve.department (kanban)
* INHERIT hr.leave.view.kanban.my (kanban)
* INHERIT hr.user.preferences.view.form.leave.inherit (form)
* INHERIT resource.calendar.form.inherit (form)
* INHERIT resource.calendar.leaves.form.inherit (form)
* INHERIT resource.calendar.leaves.list.inherit (list)
* INHERIT resource.calendar.leaves.search.inherit (search)
* INHERIT view.calendar.event.form.inherit (form)
hr.holidays.cancel.leave form (form)
hr.holidays.filter (search)
hr.holidays.filter (search)
hr.holidays.filter (search)
hr.holidays.filter_allocations (search)
hr.holidays.graph (graph)
2025-06-12 14:35 YourCompany 3 / 21

hr.holidays.report_graph (graph)
hr.holidays.report_list (list)
hr.holidays.report_pivot (pivot)
hr.holidays.summary.employee.form (form)
hr.holidays.view.list (list)
hr.leave.accrual.level.form (form)
hr.leave.accrual.plan.form (form)
hr.leave.accrual.plan.list (list)
hr.leave.accrual.plan.search (search)
hr.leave.allocation.generate.multi.wizard form (form)
hr.leave.allocation.view.activity (activity)
hr.leave.allocation.view.form (form)
hr.leave.allocation.view.kanban (kanban)
hr.leave.allocation.view.list (list)
hr.leave.employee.type.report.view.pivot (pivot)
hr.leave.generate.multi.wizard form (form)
hr.leave.mandatory.day form (form)
hr.leave.mandatory.day list (list)
hr.leave.mandatory.day search (search)
hr.leave.report.calendar.view (calendar)
hr.leave.report.calendar.view.form (form)
hr.leave.report.calendar.view.search (search)
hr.leave.type.filter (search)
hr.leave.type.form (form)
hr.leave.type.kanban (kanban)
hr.leave.type.normal.list (list)
hr.leave.view.activity (activity)
hr.leave.view.calendar (calendar)
hr.leave.view.dashboard (calendar)
hr.leave.view.dashboard (calendar)
hr.leave.view.form (form)
hr.leave.view.kanban (kanban)
report.hr.holidays.report.leave_all.graph (graph)
report.hr.holidays.report.leave_all.list (list)
report.hr.holidays.report.leave_all.pivot (pivot)
report_holidayssummary (qweb)
Dependencies:
hr - Installed
calendar - Installed
resource - Installed
2025-06-12 14:35 YourCompany 4 / 21

Object: calendar.event

Object: hr.department
absence_of_today Absence by Today, integer, readonly
allocation_to_approve_count Allocation to Approve, integer, readonly
leave_to_approve_count Time Off to Approve, integer, readonly

Object: hr.departure.wizard

Object: hr.employee
allocation_count Total number of days allocated., float, readonly
allocation_display Allocation Display, char, readonly
allocation_remaining_display Allocation Remaining Display, char, readonly
allocations_count Total number of allocations, integer, readonly
current_leave_id Current Time Off Type, many2one, readonly
current_leave_state Current Time Off Status, selection, readonly
hr_icon_display Hr Icon Display, selection, readonly
is_absent Absent Today, boolean, readonly
leave_date_from From Date, date, readonly
leave_date_to To Date, date, readonly
leave_manager_id Time Off, many2one
Select the user responsible for approving "Time Off" of this employee. If empty, the approval is
done by an Administrator or Approver (determined in settings/users).
leaves_count Number of Time Off, float, readonly
remaining_leaves Available Time Off Days, float, readonly
Total number of paid time off allocated to this employee, change this value to create
allocation/time off request. Total based on all the time off types without overriding limit.
show_leaves Able to see Remaining Time Off, boolean, readonly

Object: hr.employee.base
allocation_count Total number of days allocated., float, readonly
allocation_display Allocation Display, char, readonly
2025-06-12 14:35 YourCompany 5 / 21

allocation_remaining_display Allocation Remaining Display, char, readonly


allocations_count Total number of allocations, integer, readonly
current_leave_state Current Time Off Status, selection, readonly
hr_icon_display Hr Icon Display, selection, readonly
is_absent Absent Today, boolean, readonly
leave_date_from From Date, date, readonly
leave_date_to To Date, date, readonly
leave_manager_id Time Off, many2one
Select the user responsible for approving "Time Off" of this employee. If empty, the approval is
done by an Administrator or Approver (determined in settings/users).
leaves_count Number of Time Off, float, readonly
remaining_leaves Available Time Off Days, float, readonly
Total number of paid time off allocated to this employee, change this value to create
allocation/time off request. Total based on all the time off types without overriding limit.
show_leaves Able to see Remaining Time Off, boolean, readonly

Object: hr.holidays.cancel.leave
create_date Created on, datetime, readonly
create_uid Created by, many2one, readonly
display_name Display Name, char, readonly
id ID, integer, readonly
leave_id Time Off Request, many2one, required
reason Reason, text, required
write_date Last Updated on, datetime, readonly
write_uid Last Updated by, many2one, readonly

Object: hr.holidays.summary.employee
create_date Created on, datetime, readonly
create_uid Created by, many2one, readonly
date_from From, date, required
display_name Display Name, char, readonly
emp Employee(s), many2many
2025-06-12 14:35 YourCompany 6 / 21

holiday_type Select Time Off Type, selection, required


id ID, integer, readonly
write_date Last Updated on, datetime, readonly
write_uid Last Updated by, many2one, readonly

Object: hr.leave
active_employee Employee Active, boolean, readonly
If the active field is set to False, it will allow you to hide the resource record without removing it.
activity_calendar_event_id Next Activity Calendar Event, many2one, readonly
activity_date_deadline Next Activity Deadline, date, readonly
activity_exception_decoration Activity Exception Decoration, selection, readonly
Type of the exception activity on record.
activity_exception_icon Icon, char, readonly
Icon to indicate an exception activity.
activity_ids Activities, one2many
activity_state Activity State, selection, readonly
Status based on activities Overdue: Due date is already passed Today: Activity date is today
Planned: Future activities.
activity_summary Next Activity Summary, char
activity_type_icon Activity Type Icon, char, readonly
Font awesome icon e.g. fa-tasks
activity_type_id Next Activity Type, many2one
activity_user_id Responsible User, many2one, readonly
attachment_ids Attachments, one2many
can_approve Can Approve, boolean, readonly
can_cancel Can Cancel, boolean, readonly
can_reset Can reset, boolean, readonly
color Color, integer, readonly
The color selected here will be used in every screen with the time off type.
company_id Company, many2one, readonly
create_date Created on, datetime, readonly
create_uid Created by, many2one, readonly
date_from Start Date, datetime, readonly
2025-06-12 14:35 YourCompany 7 / 21

date_to End Date, datetime, readonly


department_id Department, many2one
display_name Display Name, char, readonly
duration_display Requested (Days/Hours), char, readonly
Field allowing to see the leave request duration in days or hours depending on the
leave_type_request_unit
employee_company_id Employee Company, many2one, readonly
employee_id Employee, many2one, required
first_approver_id First Approval, many2one, readonly
This area is automatically filled by the user who validate the time off
has_mandatory_day Has Mandatory Day, boolean, readonly
has_message Has Message, boolean, readonly
holiday_status_id Time Off Type, many2one, required
id ID, integer, readonly
is_hatched Hatched, boolean, readonly
is_striked Striked, boolean, readonly
last_several_days All day, boolean, readonly
leave_type_increases_duration Leave Type Increases Duration, boolean, readonly
leave_type_request_unit Take Time Off in, selection, readonly
leave_type_support_document Supporting Document, boolean, readonly
manager_id Manager, many2one
meeting_id Meeting, many2one
message_attachment_count Attachment Count, integer, readonly
message_follower_ids Followers, one2many
message_has_error Message Delivery error, boolean, readonly
If checked, some messages have a delivery error.
message_has_error_counter Number of errors, integer, readonly
Number of messages with delivery error
message_has_sms_error SMS Delivery error, boolean, readonly
If checked, some messages have a delivery error.
message_ids Messages, one2many
message_is_follower Is Follower, boolean, readonly
2025-06-12 14:35 YourCompany 8 / 21

message_main_attachment_id Main Attachment, many2one


message_needaction Action Needed, boolean, readonly
If checked, new messages require your attention.
message_needaction_counter Number of Actions, integer, readonly
Number of messages requiring action
message_partner_ids Followers (Partners), many2many
my_activity_date_deadline My Activity Deadline, date, readonly
name Description, char
notes Reasons, text
number_of_days Duration (Days), float, readonly
Number of days of the time off request. Used in the calculation.
number_of_hours Duration (Hours), float, readonly
Number of hours of the time off request. Used in the calculation.
private_name Time Off Description, char
request_date_from Request Start Date, date
request_date_from_period Date Period Start, selection
request_date_to Request End Date, date
request_hour_from Hour from, float
request_hour_to Hour to, float
request_unit_half Half Day, boolean
request_unit_hours Custom Hours, boolean
resource_calendar_id Resource Calendar, many2one
second_approver_id Second Approval, many2one, readonly
This area is automatically filled by the user who validate the time off with second level (If time off
type need second validation)
state Status, selection
The status is set to 'To Submit', when a time off request is created. The status is 'To Approve',
when time off request is confirmed by user. The status is 'Refused', when time off request is
refused by manager. The status is 'Approved', when time off request is approved by manager.
supported_attachment_ids Attach File, many2many
supported_attachment_ids_count Supported Attachment Ids Count, integer, readonly
tz Tz, selection, readonly
tz_mismatch Tz Mismatch, boolean, readonly
2025-06-12 14:35 YourCompany 9 / 21

user_id User, many2one, readonly


validation_type Validation Type, selection
website_message_ids Website Messages, one2many
Website communication history
write_date Last Updated on, datetime, readonly
write_uid Last Updated by, many2one, readonly

Object: hr.leave.accrual.level
accrual_plan_id Accrual Plan, many2one, required
accrual_validity Accrual Validity, boolean
accrual_validity_count Accrual Validity Count, integer
You can define a period of time where the days carried over will be available
accrual_validity_type Accrual Validity Type, selection, required
This field defines the unit of time after which the accrual ends.
accrued_gain_time Accrued Gain Time, selection, readonly
action_with_unused_accruals Carry over, selection, required
When the Carry-Over Time is reached, according to Plan's setting, select what you want to happen
with the unused time off: None (time will be reset to zero), All accrued time carried over to the next
period; or Carryover with a maximum).
added_value Rate, float, required
The number of hours/days that will be incremented in the specified Time Off Type for every period
added_value_type Added Value Type, selection, required
can_modify_value_type Can Modify Value Type, boolean, readonly
cap_accrued_time Cap accrued time, boolean
When the field is checked the balance of an allocation using this accrual plan will never exceed the
specified amount.
cap_accrued_time_yearly Milestone cap, boolean
When the field is checked the total amount accrued each year will be capped at the specified
amount
create_date Created on, datetime, readonly
create_uid Created by, many2one, readonly
display_name Display Name, char, readonly
first_day First Day, integer
2025-06-12 14:35 YourCompany 10 / 21

first_day_display First Day Display, selection


first_month First Month, selection
first_month_day First Month Day, integer
first_month_day_display First Month Day Display, selection
frequency Frequency, selection, required
id ID, integer, readonly
maximum_leave Limit to, float
Choose a cap for this accrual.
maximum_leave_yearly Yearly limit to, float
postpone_max_days Maximum amount of accruals to transfer, integer
Set a maximum of accruals an allocation keeps at the end of the year.
second_day Second Day, integer
second_day_display Second Day Display, selection
second_month Second Month, selection
second_month_day Second Month Day, integer
second_month_day_display Second Month Day Display, selection
sequence sequence, integer, readonly
Sequence is generated automatically by start time delta.
start_count Start after, integer
The accrual starts after a defined period from the allocation start date. This field defines the
number of days, months or years after which accrual is used.
start_type , selection, required
This field defines the unit of time after which the accrual starts.
week_day Allocation on, selection, required
write_date Last Updated on, datetime, readonly
write_uid Last Updated by, many2one, readonly
yearly_day Yearly Day, integer
yearly_day_display Yearly Day Display, selection
yearly_month Yearly Month, selection

Object: hr.leave.accrual.plan
accrued_gain_time Accrued Gain Time, selection, required
2025-06-12 14:35 YourCompany 11 / 21

active Active, boolean


added_value_type Added Value Type, selection, readonly
allocation_ids Allocation, one2many
carryover_date Carry-Over Time, selection, required
carryover_day Carryover Day, integer
carryover_day_display Carryover Day Display, selection
carryover_month Carryover Month, selection
company_id Company, many2one
create_date Created on, datetime, readonly
create_uid Created by, many2one, readonly
display_name Display Name, char, readonly
employees_count Employees, integer, readonly
id ID, integer, readonly
is_based_on_worked_time Based on worked time, boolean
If checked, the accrual period will be calculated according to the work days, not calendar days.
level_count Levels, integer, readonly
level_ids Milestone, one2many
name Name, char, required
show_transition_mode Show Transition Mode, boolean, readonly
time_off_type_id Time Off Type, many2one
Specify if this accrual plan can only be used with this Time Off Type. Leave empty if this accrual plan
can be used with any Time Off Type.
transition_mode Milestone Transition, selection, required
Specify what occurs if a level transition takes place in the middle of a pay period. 'Immediately' will
switch the employee to the new accrual level on the exact date during the ongoing pay period.
'After this accrual's period' will keep the employee on the same accrual level until the ongoing pay
period is complete. After it is complete, the new level will take effect when the next pay period
begins.

write_date Last Updated on, datetime, readonly


write_uid Last Updated by, many2one, readonly

Object: hr.leave.allocation
accrual_plan_id Accrual Plan, many2one
2025-06-12 14:35 YourCompany 12 / 21

active_employee Active Employee, boolean, readonly


If the active field is set to False, it will allow you to hide the resource record without removing it.
activity_calendar_event_id Next Activity Calendar Event, many2one, readonly
activity_date_deadline Next Activity Deadline, date, readonly
activity_exception_decoration Activity Exception Decoration, selection, readonly
Type of the exception activity on record.
activity_exception_icon Icon, char, readonly
Icon to indicate an exception activity.
activity_ids Activities, one2many
activity_state Activity State, selection, readonly
Status based on activities Overdue: Due date is already passed Today: Activity date is today
Planned: Future activities.
activity_summary Next Activity Summary, char
activity_type_icon Activity Type Icon, char, readonly
Font awesome icon e.g. fa-tasks
activity_type_id Next Activity Type, many2one
activity_user_id Responsible User, many2one, readonly
actual_lastcall Actual Lastcall, date
allocation_type Allocation Type, selection, required, readonly
already_accrued Already Accrued, boolean
approver_id First Approval, many2one, readonly
This area is automatically filled by the user who validates the allocation
can_approve Can Approve, boolean, readonly
carried_over_days_expiration_date Carried over days expiration date, date
create_date Created on, datetime, readonly
create_uid Created by, many2one, readonly
date_from Start Date, date, required
date_to End Date, date
department_id Department, many2one
display_name Display Name, char, readonly
2025-06-12 14:35 YourCompany 13 / 21

duration_display Allocated (Days/Hours), char, readonly


Field allowing to see the allocation duration in days or hours depending on the
type_request_unit
employee_company_id Company, many2one, readonly
employee_id Employee, many2one, required
expiring_carryover_days The number of carried over days that will expire on carried_over_days_expiration_date, float
has_message Has Message, boolean, readonly
holiday_status_id Time Off Type, many2one, required
id ID, integer, readonly
is_name_custom Is Name Custom, boolean, readonly
is_officer Is Officer, boolean, readonly
last_executed_carryover_date Last Executed Carryover Date, date
lastcall Date of the last accrual allocation, date, readonly
leaves_taken Time off Taken, float, readonly
manager_id Manager, many2one, readonly
max_leaves Max Leaves, float, readonly

message_attachment_count Attachment Count, integer, readonly


message_follower_ids Followers, one2many
message_has_error Message Delivery error, boolean, readonly
If checked, some messages have a delivery error.
message_has_error_counter Number of errors, integer, readonly
Number of messages with delivery error
message_has_sms_error SMS Delivery error, boolean, readonly
If checked, some messages have a delivery error.
message_ids Messages, one2many
message_is_follower Is Follower, boolean, readonly
message_needaction Action Needed, boolean, readonly
If checked, new messages require your attention.
message_needaction_counter Number of Actions, integer, readonly
Number of messages requiring action
message_partner_ids Followers (Partners), many2many
my_activity_date_deadline My Activity Deadline, date, readonly
2025-06-12 14:35 YourCompany 14 / 21

name Description, char


name_validity Description with validity, char, readonly
nextcall Date of the next accrual allocation, date, readonly
notes Reasons, text
number_of_days Number of Days, float
Duration in days. Reference field to use when necessary.
number_of_days_display Duration (days), float, readonly
For an Accrual Allocation, this field contains the theorical amount of time given to the employee,
due to a previous start date, on the first run of the plan. This can be manually edited.
number_of_hours_display Duration (hours), float, readonly
For an Accrual Allocation, this field contains the theorical amount of time given to the employee,
due to a previous start date, on the first run of the plan. This can be manually edited.
second_approver_id Second Approval, many2one, readonly
This area is automatically filled by the user who validates the allocation with second level (If
time off type need second validation)
state Status, selection, readonly
The status is 'To Approve', when an allocation request is created. The status is 'Refused', when
an allocation request is refused by manager. The status is 'Approved', when an allocation
request is approved by manager.
type_request_unit Type Request Unit, selection, readonly
validation_type Validation Type, selection, readonly
Select the level of approval needed in case of request by employee # - No validation needed: The
employee's request is automatically approved. # - Approved by Time Off Officer: The
employee's request need to be manually approved # by the Time Off Officer, Employee's
Approver or both.
website_message_ids Website Messages, one2many
Website communication history
write_date Last Updated on, datetime, readonly
write_uid Last Updated by, many2one, readonly
yearly_accrued_amount Yearly Accrued Amount, float

Object: hr.leave.allocation.generate.multi.wizard
accrual_plan_id Accrual Plan, many2one
2025-06-12 14:35 YourCompany 15 / 21

allocation_mode Allocation Mode, selection, required


Allow to create requests in batchs: - By Employee: for a specific employee - By Company: all
employees of the specified company - By Department: all employees of the specified department -
By Employee Tag: all employees of the specific employee group category

allocation_type Allocation Type, selection, required


category_id Employee Tag, many2one
company_id Company, many2one, required
create_date Created on, datetime, readonly
create_uid Created by, many2one, readonly
date_from Start Date, date, required
date_to End Date, date
department_id Department, many2one
display_name Display Name, char, readonly
duration Allocation, float
employee_ids Employees, many2many
holiday_status_id Time Off Type, many2one, required
id ID, integer, readonly

name Description, char


notes Reasons, text
request_unit Take Time Off in, selection, readonly
write_date Last Updated on, datetime, readonly
write_uid Last Updated by, many2one, readonly

Object: hr.leave.employee.type.report
active_employee Active Employee, boolean, readonly
company_id Company, many2one, readonly
date_from Start Date, datetime, readonly
date_to End Date, datetime, readonly
department_id Department, many2one, readonly
display_name Display Name, char, readonly
employee_id Employee, many2one, readonly
2025-06-12 14:35 YourCompany 16 / 21

holiday_status Holiday Status, selection


id ID, integer, readonly
leave_type Time Off Type, many2one, readonly
number_of_days Number of Days, float, readonly
number_of_hours Number of Hours, float, readonly
state Status, selection, readonly

Object: hr.leave.generate.multi.wizard
allocation_mode Allocation Mode, selection, required
Allow to create requests in batchs: - By Employee: for a specific employee - By Company: all
employees of the specified company - By Department: all employees of the specified department -
By Employee Tag: all employees of the specific employee group category
category_id Employee Tag, many2one
company_id Company, many2one, required
create_date Created on, datetime, readonly
create_uid Created by, many2one, readonly
date_from Start Date, date, required
date_to End Date, date, required
department_id Department, many2one
display_name Display Name, char, readonly
employee_ids Employees, many2many
holiday_status_id Time Off Type, many2one, required
id ID, integer, readonly
name Description, char
write_date Last Updated on, datetime, readonly

write_uid Last Updated by, many2one, readonly

Object: hr.leave.mandatory.day
color Color, integer
company_id Company, many2one, required
create_date Created on, datetime, readonly
2025-06-12 14:35 YourCompany 17 / 21

create_uid Created by, many2one, readonly


department_ids Departments, many2many
display_name Display Name, char, readonly
end_date End Date, date, required
id ID, integer, readonly
name Name, char, required
resource_calendar_id Working Hours, many2one
start_date Start Date, date, required
write_date Last Updated on, datetime, readonly
write_uid Last Updated by, many2one, readonly

Object: hr.leave.report
allocation_id Allocation Request, many2one, readonly
company_id Company, many2one, readonly
date_from Start Date, datetime, readonly
date_to End Date, datetime, readonly
department_id Department, many2one, readonly
display_name Display Name, char, readonly
employee_id Employee, many2one, readonly
has_department_manager_access Has Department Manager Access, boolean, readonly
holiday_status_id Time Off Type, many2one, readonly
id ID, integer, readonly
leave_id Time Off Request, many2one, readonly
leave_type Request Type, selection, readonly
name Description, char, readonly
number_of_days Number of Days, float, readonly
number_of_hours Number of Hours, float, readonly
state Status, selection, readonly

Object: hr.leave.report.calendar
company_id Company, many2one, readonly
2025-06-12 14:35 YourCompany 18 / 21

department_id Department, many2one, readonly


description Description, char, readonly
display_name Display Name, char, readonly
duration Duration, float, readonly
employee_id Employee, many2one, readonly
holiday_status_id Time Off Type, many2one, readonly
id ID, integer, readonly
is_absent Absent Today, boolean, readonly
is_hatched Hatched, boolean, readonly
is_manager Manager, boolean, readonly
is_striked Striked, boolean, readonly
job_id Job, many2one, readonly
leave_id Leave, many2one, readonly
leave_manager_id Time Off, many2one, readonly
Select the user responsible for approving "Time Off" of this employee. If empty, the approval is
done by an Administrator or Approver (determined in settings/users).
name Name, char, readonly
start_datetime From, datetime, readonly
state State, selection, readonly
stop_datetime To, datetime, readonly
tz Timezone, selection, readonly

Object: hr.leave.type
accrual_count Accruals count, float, readonly
accruals_ids Accruals, one2many
active Active, boolean
If the active field is set to false, it will allow you to hide the time off type without removing it.
allocation_count Allocations, integer, readonly
allocation_notif_subtype_id Allocation Notification Subtype, many2one
2025-06-12 14:35 YourCompany 19 / 21

allocation_validation_type Approval, selection


Select the level of approval needed in case of request by employee # - No validation needed:
The employee's request is automatically approved. # - Approved by Time Off Officer: The
employee's request need to be manually approved # by the Time Off Officer, Employee's
Approver or both.
allows_negative Allow Negative Cap, boolean
If checked, users request can exceed the allocated days and balance can go in negative.

color Color, integer


The color selected here will be used in every screen with the time off type.
company_id Company, many2one
country_code Country Code, char, readonly
The ISO country code in two chars. You can use this field for quick search.
country_id Country, many2one, readonly
create_calendar_meeting Display Time Off in Calendar, boolean
create_date Created on, datetime, readonly
create_uid Created by, many2one, readonly
display_name Display Name, char, readonly
employee_requests Employee Requests, selection, required
Extra Days Requests Allowed: User can request an allocation for himself. Not Allowed: User
cannot request an allocation.
group_days_leave Group Time Off, float, readonly
has_valid_allocation Has Valid Allocation, boolean, readonly
This indicates if it is still possible to use this type of leave
icon_id Cover Image, many2one
id ID, integer, readonly
include_public_holidays_in_duration Public Holiday Included, boolean
Public holidays should be counted in the leave duration when applying for leaves
leave_notif_subtype_id Time Off Notification Subtype, many2one
leave_validation_type Time Off Validation, selection
leaves_taken Time off Already Taken, float, readonly
This value is given by the sum of all time off requests with a negative value.
max_allowed_negative Maximum Excess Amount, integer
Define the maximum level of negative days this kind of time off can reach. Value must be at
least 1.
2025-06-12 14:35 YourCompany 20 / 21

max_leaves Maximum Allowed, float, readonly


This value is given by the sum of all time off requests with a positive value.
name Time Off Type, char, required
request_unit Take Time Off in, selection, required
requires_allocation Requires allocation, selection, required
Yes: Time off requests need to have a valid allocation. No Limit: Time Off requests can be taken
without any prior allocation.
responsible_ids Notified Time Off Officer, many2many
Choose the Time Off Officers who will be notified to approve allocation or Time Off Request. If
empty, nobody will be notified
sequence Sequence, integer
The type with the smallest sequence is the default value in time off request
show_on_dashboard Show On Dashboard, boolean
Non-visible allocations can still be selected when taking a leave, but will simply not be
displayed on the leave dashboard.
support_document Supporting Document, boolean
time_type Kind of Time Off, selection
The distinction between working time (ex. Attendance) and absence (ex. Training) will be used
in the computation of Accrual's plan rate.
unpaid Is Unpaid, boolean
virtual_remaining_leaves Virtual Remaining Time Off, float, readonly
Maximum Time Off Allowed - Time Off Already Taken - Time Off Waiting Approval
write_date Last Updated on, datetime, readonly
write_uid Last Updated by, many2one, readonly

Object: mail.message.subtype

Object: report.hr_holidays.report_holidayssummary

Object: res.partner

Object: res.users
allocation_count Total number of days allocated., float, readonly
allocation_display Allocation Display, char, readonly
2025-06-12 14:35 YourCompany 21 / 21

allocation_remaining_display Allocation Remaining Display, char, readonly


current_leave_state Current Time Off Status, selection, readonly
hr_icon_display Hr Icon Display, selection, readonly
is_absent Absent Today, boolean, readonly
leave_date_to To Date, date, readonly
leave_manager_id Time Off, many2one, readonly
Select the user responsible for approving "Time Off" of this employee. If empty, the approval is
done by an Administrator or Approver (determined in settings/users).
show_leaves Able to see Remaining Time Off, boolean, readonly

Object: resource.calendar
associated_leaves_count Time Off Count, integer, readonly

Object: resource.calendar.leaves
holiday_id Time Off Request, many2one

You might also like