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
Description: Time Off Type
| Field | Description | Type | Relationship | Compute Method |
|---|---|---|---|---|
| accrual_count | Accruals count | Float | - | _compute_accrual_count |
| accruals_ids | One-to-Many | hr.leave.accrual.plan | ||
| active | Active | Boolean | - | |
| allocation_count | Allocations | Integer | - | _compute_allocation_count |
| allocation_notif_subtype_id | Allocation Notification Subtype | Many-to-One | mail.message.subtype | |
| allocation_validation_type | Approval | Selection | - | |
| allows_negative | Allow Negative Cap | Boolean | - | |
| color | Color | Integer | - | |
| company_id | Company | Many-to-One | res.company | |
| country_code | Char | country_id.code | ||
| country_id | Country | Many-to-One | res.country | |
| create_calendar_meeting | Display Time Off in Calendar | Boolean | - | |
| employee_requests | Employee Requests | Selection | - | |
| group_days_leave | Group Time Off | Float | - | _compute_group_days_leave |
| has_valid_allocation | Boolean | - | _compute_valid | |
| icon_id | Cover Image | Many-to-One | ir.attachment | |
| include_public_holidays_in_duration | Public Holiday Included | Boolean | - | |
| leave_notif_subtype_id | Time Off Notification Subtype | Many-to-One | mail.message.subtype | |
| leave_validation_type | Time Off Validation | Selection | - | |
| leaves_taken | Time off Already Taken | Float | - | _compute_leaves |
| max_allowed_negative | Maximum Excess Amount | Integer | - | |
| max_leaves | Maximum Allowed | Float | - | _compute_leaves |
| name | Time Off Type | Char | - | |
| request_unit | Take Time Off in | Selection | - | |
| requires_allocation | Requires allocation | Selection | - | |
| responsible_ids | Notified Time Off Officer | Many-to-Many | res.users | |
| sequence | Integer | - | ||
| show_on_dashboard | Boolean | - | ||
| support_document | Supporting Document | Boolean | - | |
| time_type | Kind of Time Off | Selection | - | |
| unpaid | Is Unpaid | Boolean | - | |
| virtual_remaining_leaves | Virtual Remaining Time Off | Float | - | _compute_leaves |
