leave_allocation |
Time Off Allocation
Catalog: Odoo
Schema: hr
Documentation:
Allocation Requests Access specifications: similar to leave requests
The data in this table is partitioned per value of the column.
This is a read-only table. The Odoo API may not support changing the data or the Invantive SQL driver for Odoo does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Odoo API.
Table Columns
The columns of the table leave_allocation are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
accrual_plan_id_label |
string |
|
☐ |
|
accrual_plan_id |
string |
|
☐ |
|
active_employee |
boolean |
Active Employee |
☐ |
If the active field is set to False, it will allow you to hide the resource record without removing it. |
active |
boolean |
Active |
☐ |
|
activity_calendar_event_id_label |
string |
|
☐ |
|
activity_calendar_event_id |
string |
|
☐ |
|
activity_date_deadline |
datetime |
Next Activity Deadline |
☐ |
|
activity_exception_decoration |
string |
Activity Exception Decoration |
☐ |
Type of the exception activity on record. |
activity_exception_icon |
string |
Icon |
☐ |
Icon to indicate an exception activity. |
activity_ids |
string |
|
☐ |
|
activity_state |
string |
Activity State |
☐ |
Status based on activitiesOverdue: Due date is already passedToday: Activity date is todayPlanned: Future activities. |
activity_summary |
string |
Next Activity Summary |
☐ |
|
activity_type_icon |
string |
Activity Type Icon |
☐ |
Font awesome icon e.g. fa-tasks |
activity_type_id_label |
string |
|
☐ |
|
activity_type_id |
string |
|
☐ |
|
activity_user_id_label |
string |
|
☐ |
|
activity_user_id |
string |
|
☐ |
|
allocation_type |
string |
Allocation Type |
☑ |
|
approver_id_label |
string |
|
☐ |
This area is automatically filled by the user who validates the allocation |
approver_id |
string |
|
☐ |
This area is automatically filled by the user who validates the allocation |
can_approve |
boolean |
Can Approve |
☐ |
|
can_reset |
boolean |
Can reset |
☐ |
|
category_id_label |
string |
|
☐ |
|
category_id |
string |
|
☐ |
|
create_date |
datetime |
Created on |
☐ |
|
create_uid_label |
string |
|
☐ |
|
create_uid |
string |
|
☐ |
|
date_from |
datetime |
Start Date |
☑ |
|
date_to |
datetime |
End Date |
☐ |
|
department_id_label |
string |
|
☐ |
|
department_id |
string |
|
☐ |
|
display_name |
string |
Display Name |
☐ |
|
duration_display |
string |
Allocated (Days/Hours) |
☐ |
Field allowing to see the allocation duration in days or hours depending on the type_request_unit |
employee_company_id_label |
string |
|
☐ |
|
employee_company_id |
string |
|
☐ |
|
employee_id_label |
string |
|
☐ |
|
employee_id |
string |
|
☐ |
|
employee_ids |
string |
|
☐ |
|
employee_overtime |
decimal |
Total Overtime |
☐ |
|
has_message |
boolean |
Has Message |
☐ |
|
holiday_status_id_label |
string |
|
☐ |
|
holiday_status_id |
string |
|
☐ |
|
holiday_type |
string |
Allocation Mode |
☑ |
Allow to create requests in batchs:- By Employee: for a specific employee- By Company: all employees of the specified company- By Department: all employees of the specified department- By Employee Tag: all employees of the specific employee group category |
hr_attendance_overtime |
boolean |
Count Extra Hours |
☐ |
|
id |
int32 |
ID |
☐ |
|
is_officer |
boolean |
Is Officer |
☐ |
|
lastcall |
datetime |
Date of the last accrual allocation |
☐ |
|
leaves_taken |
decimal |
Time off Taken |
☐ |
|
linked_request_ids |
string |
|
☐ |
|
manager_id_label |
string |
|
☐ |
|
manager_id |
string |
|
☐ |
|
max_leaves |
decimal |
Max Leaves |
☐ |
|
message_attachment_count |
int32 |
Attachment Count |
☐ |
|
message_follower_ids |
string |
|
☐ |
|
message_has_error_counter |
int32 |
Number of errors |
☐ |
Number of messages with delivery error |
message_has_error |
boolean |
Message Delivery error |
☐ |
If checked, some messages have a delivery error. |
message_has_sms_error |
boolean |
SMS Delivery error |
☐ |
If checked, some messages have a delivery error. |
message_ids |
string |
|
☐ |
|
message_is_follower |
boolean |
Is Follower |
☐ |
|
message_main_attachment_id_label |
string |
|
☐ |
|
message_main_attachment_id |
string |
|
☐ |
|
message_needaction_counter |
int32 |
Number of Actions |
☐ |
Number of messages which requires an action |
message_needaction |
boolean |
Action Needed |
☐ |
If checked, new messages require your attention. |
message_partner_ids |
string |
|
☐ |
|
mode_company_id_label |
string |
|
☐ |
|
mode_company_id |
string |
|
☐ |
|
multi_employee |
boolean |
Multi Employee |
☐ |
Holds whether this allocation concerns more than 1 employee |
my_activity_date_deadline |
datetime |
My Activity Deadline |
☐ |
|
name_validity |
string |
Description with validity |
☐ |
|
name |
string |
Description |
☐ |
|
nextcall |
datetime |
Date of the next accrual allocation |
☐ |
|
notes |
string |
Reasons |
☐ |
|
number_of_days_display |
decimal |
Duration (days) |
☐ |
If Accrual Allocation: Number of days allocated in addition to the ones you will get via the accrual' system. |
number_of_days |
decimal |
Number of Days |
☐ |
Duration in days. Reference field to use when necessary. |
number_of_hours_display |
decimal |
Duration (hours) |
☐ |
If Accrual Allocation: Number of hours allocated in addition to the ones you will get via the accrual' system. |
overtime_deductible |
boolean |
Overtime Deductible |
☐ |
|
overtime_id_label |
string |
|
☐ |
|
overtime_id |
string |
|
☐ |
|
parent_id_label |
string |
|
☐ |
|
parent_id |
string |
|
☐ |
|
private_name |
string |
Allocation Description |
☐ |
|
state |
string |
Status |
☐ |
The status is set to 'To Submit', when an allocation request is created.The status is 'To Approve', when an allocation request is confirmed by user.The status is 'Refused', when an allocation request is refused by manager.The status is 'Approved', when an allocation request is approved by manager. |
taken_leave_ids |
string |
|
☐ |
|
type_request_unit |
string |
Take Time Off in |
☐ |
|
validation_type |
string |
Validation Type |
☐ |
Select the level of approval needed in case of request by employee- No validation needed: The employee's request is automatically approved.- Approved by Time Off Officer: The employee's request need to be manually approved by the Time Off Officer. |
website_message_ids |
string |
|
☐ |
Website communication history |
write_date |
datetime |
Last Updated on |
☐ |
|
write_uid_label |
string |
|
☐ |
|
write_uid |
string |
|
☐ |
|
01-03-2023 15:29 Version 22.1.135-BETA+3826