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 19.0 View 20.0

Description: Time Off

Field Description Type Relationship Compute Method
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_is_visible Boolean - _compute_attachment_is_visible
can_back_to_approve Boolean - _compute_can_back_to_approve
can_reschedule Boolean - _compute_can_reschedule
color Color Integer holiday_status_id.color work_entry_type_id.color
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
duration_display Requested Char - _compute_duration_display
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 -
is_time_rule_trimmed Trimmed by Time Rule Boolean -
last_several_days All day Boolean - _compute_last_several_days
leave_type_increases_duration Char - _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 -
max_leaves Float - _compute_leaves
number_of_days Duration (Days) Float - _compute_duration
number_of_hours Duration (Hours) Float - _compute_duration
output_leave_ids One-to-Many - hr.leave
request_date_hour_from Datetime - _compute_request_date_hour_from
request_date_hour_to Datetime - _compute_request_date_hour_to
request_duration Duration Selection -
request_hour_from Hour from Float - _compute_request_hour_from_to
request_hour_to Hour to Float - _compute_request_hour_from_to
request_unit_half Half-Day Boolean - _compute_request_unit_half
request_unit_hours Specific Time Boolean - _compute_request_unit_hours
source_leave_id Source Leave Many-to-One - hr.leave
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
validation_type Validation Type Selection holiday_status_id.leave_validation_type 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