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
allocation_display_warning Char - _compute_allocation_warning
allowed_request_durations Json - _compute_allowed_request_durations
allowed_work_entry_type_ids Many-to-Many hr.work.entry.type _compute_allowed_work_entry_type_ids
attachment_ids Attachments One-to-Many ir.attachment
attachment_is_visible Boolean - _compute_attachment_is_visible
can_approve Boolean - _compute_can_approve
can_back_to_approve Boolean - _compute_can_back_to_approve
can_cancel Boolean - _compute_can_cancel
can_refuse Boolean - _compute_can_refuse
can_reschedule Boolean - _compute_can_reschedule
can_validate Boolean - _compute_can_validate
color Color Integer work_entry_type_id.color
company_id Many-to-One res.company _compute_company_id
count_as Selection work_entry_type_id.count_as
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 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
is_hatched Hatched Boolean - _compute_is_hatched
is_striked Striked Boolean - _compute_is_hatched
is_time_rule_trimmed Trimmed by Time Rule Boolean -
last_several_days All day Boolean - _compute_last_several_days
max_leaves Float - _compute_leaves
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
output_leave_ids One-to-Many hr.leave
private_name Time Off Description Char -
request_date_from Request Start Date Date -
request_date_from_period Date Period Start Selection -
request_date_hour_from Datetime - _compute_request_date_hour_from
request_date_hour_to Datetime - _compute_request_date_hour_to
request_date_to Request End Date Date -
request_date_to_period Date Period End Selection -
request_duration Duration Selection -
request_hour_from Hour from Float -
request_hour_to Hour to Float -
resource_calendar_id Many-to-One resource.calendar _compute_resource_calendar_id
second_approver_id Second Approval Many-to-One hr.employee
source_leave_id Source Leave Many-to-One hr.leave
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
time_rule_id Time Rule Many-to-One hr.time.rule
time_rule_time_range Char - _compute_time_rule_time_range
tz Selection - _compute_tz
tz_mismatch Boolean - _compute_tz_mismatch
user_id User Many-to-One res.users
validation_type Validation Type Selection work_entry_type_id.leave_validation_type
virtual_remaining_leaves Available Time Off Float - _compute_leaves
work_entry_type_id Time Type Many-to-One hr.work.entry.type
work_entry_type_increases_duration Char - _compute_work_entry_type_increases_duration
work_entry_type_request_unit Selection work_entry_type_id.request_unit
work_entry_type_requires_allocation Boolean work_entry_type_id.requires_allocation
work_entry_type_support_document Boolean work_entry_type_id.support_document