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.type

View 17.0 View 19.0

Description: Time Off Type

Field Description Type Relationship Compute Method
allocation_count Allocations Integer - _compute_allocation_count
allocation_validation_type Approval Selection - _compute_allocation_validation_type
allow_request_on_top Allow Request on Top Boolean -
country_code Char - country_id.code
country_id Country Many-to-One - res.country _compute_country_id
elligible_for_accrual_rate Eligible for Accrual Rate Boolean - _compute_eligible_for_accrual_rate
employee_requests Employee Requests Allow Employee Requests Selection Boolean -
has_valid_allocation Boolean - _compute_valid
hide_on_dashboard Hide On Dashboard Boolean -
include_public_holidays_in_duration Ignore Public Holidays Boolean -
is_used Boolean - _compute_is_used
leaves_taken Time off Already Taken Float - _compute_leaves
max_allowed_negative Amount in Negative Maximum Excess Amount Integer -
max_leaves Maximum Allowed Float - _compute_leaves
request_unit Take Time Off in Duration Type Selection -
requires_allocation Requires allocation Selection Boolean -
responsible_ids Notified Time Off Officer Notify HR Many-to-Many res.users
virtual_remaining_leaves Virtual Remaining Time Off Float - _compute_leaves