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

Description: Time Off

Field Description Type Relationship Compute Method
active Boolean -
active_employee Employee Active Boolean employee_id.active
all_employee_ids Many-to-Many hr.employee _compute_all_employees
attachment_ids Attachments One-to-Many ir.attachment
can_approve Can Approve Boolean - _compute_can_approve
can_cancel Can Cancel Boolean - _compute_can_cancel
can_reset Can reset Boolean - _compute_can_reset
category_id Employee Tag Many-to-One hr.employee.category _compute_from_holiday_type
color Color Integer holiday_status_id.color
company_id Many-to-One res.company _compute_company_id
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) Char - _compute_duration_display
employee_company_id Employee Company Many-to-One employee_id.company_id
employee_id Employee Many-to-One hr.employee _compute_from_employee_ids
employee_ids Employees Many-to-Many hr.employee _compute_from_holiday_type
first_approver_id First Approval Many-to-One hr.employee
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_type Allocation Mode Selection -
is_hatched Hatched Boolean - _compute_is_hatched
is_striked Striked Boolean - _compute_is_hatched
is_user_only_responsible Boolean - _compute_is_user_only_responsible
last_several_days All day Boolean - _compute_last_several_days
leave_type_increases_duration Boolean - _compute_leave_type_increases_duration
leave_type_request_unit Selection holiday_status_id.request_unit
leave_type_support_document Boolean holiday_status_id.support_document
linked_request_ids Linked Requests One-to-Many hr.leave
manager_id Many-to-One hr.employee _compute_from_employee_id
meeting_id Meeting Many-to-One calendar.event
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
notes Reasons Text -
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
private_name Time Off Description Char -
report_note HR Comments Text -
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 Selection -
request_hour_to Hour to Selection -
request_unit_half Half Day Boolean - _compute_request_unit_half
request_unit_hours Custom Hours Boolean - _compute_request_unit_hours
resource_calendar_id Many-to-One resource.calendar _compute_resource_calendar_id
second_approver_id Second Approval Many-to-One hr.employee
state Status Selection - _compute_state
supported_attachment_ids Attach File Many-to-Many ir.attachment _compute_supported_attachment_ids
supported_attachment_ids_count Integer - _compute_supported_attachment_ids
tz Selection - _compute_tz
tz_mismatch Boolean - _compute_tz_mismatch
user_id User Many-to-One res.users
validation_type Validation Type Selection holiday_status_id.leave_validation_type