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_employee Employee Active Boolean employee_id.active
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
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
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
is_hatched Hatched Boolean - _compute_is_hatched
is_striked Striked Boolean - _compute_is_hatched
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
manager_id Many-to-One hr.employee _compute_from_employee_id
meeting_id Meeting Many-to-One calendar.event
name Description Char - _compute_description
notes Reasons Text -
number_of_days Duration (Days) Float - _compute_duration
number_of_hours Duration (Hours) Float - _compute_duration
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 - _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 -
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