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

View 17.0 View 19.0

Description: Time Off

Field Description Type Relationship Compute Method
active Boolean -
all_employee_ids Many-to-Many hr.employee - _compute_all_employees
can_approve Can Approve Boolean - _compute_can_approve
can_back_to_approve Boolean - _compute_can_back_to_approve
can_cancel Can Cancel Boolean - _compute_can_cancel
can_refuse Boolean - _compute_can_refuse
can_reset Can reset Boolean - _compute_can_reset
can_validate Boolean - _compute_can_validate
category_id Employee Tag Many-to-One hr.employee.category - _compute_from_holiday_type
company_id Many-to-One res.company _compute_company_id
dashboard_warning_message Char - _compute_dashboard_warning_message
date_from Start Date Datetime - _compute_date_from_to
date_to End Date Datetime - _compute_date_from_to
department_id Department Many-to-One hr.department _compute_department_id
duration_display Requested (Days/Hours) Requested Char - _compute_duration_display
employee_id Employee Many-to-One hr.employee _compute_from_employee_ids
employee_ids Employees Many-to-Many hr.employee - _compute_from_holiday_type
has_mandatory_day Boolean - _compute_has_mandatory_day
holiday_status_id Time Off Type Many-to-One hr.leave.type _compute_from_employee_id
holiday_status_requires_allocation Boolean - holiday_status_id.requires_allocation
holiday_type Allocation Mode Selection -
is_user_only_responsible Boolean - _compute_is_user_only_responsible
leave_type_increases_duration Boolean Char - _compute_leave_type_increases_duration
linked_request_ids Linked Requests One-to-Many hr.leave -
manager_id Many-to-One hr.employee - _compute_from_employee_id
max_leaves Float - _compute_leaves
mode_company_id Company Mode Many-to-One res.company - _compute_from_holiday_type
multi_employee Boolean - _compute_from_employee_ids
name Description Char - _compute_description
number_of_days Duration (Days) Float - _compute_duration
number_of_days_display Duration in days Float - _compute_number_of_days_display
number_of_hours Duration (Hours) Float - _compute_duration
number_of_hours_display Duration in hours Float - _compute_number_of_hours_display
number_of_hours_text Char - _compute_number_of_hours_text
parent_id Parent Many-to-One hr.leave -
report_note HR Comments Text -
request_date_to_period Date Period End Selection -
request_hour_from Hour from Selection Float - _compute_request_hour_from_to
request_hour_to Hour to Selection Float - _compute_request_hour_from_to
request_unit_half Half Day Half-Day Boolean - _compute_request_unit_half
request_unit_hours Custom Hours Specific Time Boolean - _compute_request_unit_hours
resource_calendar_id Many-to-One resource.calendar _compute_resource_calendar_id
state Status Selection - _compute_state
virtual_remaining_leaves Available Time Off Float - _compute_leaves