slot |
Planning Shift
Catalog: Odoo
Schema: planning
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 slot are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
access_token |
string |
Security Token |
☑ |
|
allocated_hours |
decimal |
Allocated Time |
☐ |
|
allocated_percentage |
decimal |
Allocated Time % |
☐ |
|
allocation_type |
string |
Allocation Type |
☐ |
|
allow_self_unassign |
boolean |
Let Employee Unassign Themselves |
☐ |
|
allow_template_creation |
boolean |
Allow Template Creation |
☐ |
|
color |
int32 |
Color |
☐ |
|
company_id_label |
string |
|
☐ |
|
company_id |
string |
|
☐ |
|
confirm_delete |
boolean |
Confirm Slots Deletion |
☐ |
|
conflicting_slot_ids |
string |
|
☐ |
|
create_date |
datetime |
Created on |
☐ |
|
create_uid_label |
string |
|
☐ |
|
create_uid |
string |
|
☐ |
|
department_id_label |
string |
|
☐ |
|
department_id |
string |
|
☐ |
|
display_name |
string |
Display Name |
☐ |
|
duration |
decimal |
Duration |
☐ |
|
employee_id_label |
string |
|
☐ |
|
employee_id |
string |
|
☐ |
|
employee_skill_ids |
string |
|
☐ |
|
end_datetime |
datetime |
End Date |
☐ |
|
id |
int32 |
ID |
☐ |
|
is_absent |
boolean |
Employees on Time Off |
☐ |
|
is_assigned_to_me |
boolean |
Is This Shift Assigned To The Current User |
☐ |
|
is_hatched |
boolean |
Is Hatched |
☐ |
|
is_past |
boolean |
Is This Shift In The Past? |
☐ |
|
is_unassign_deadline_passed |
boolean |
Is unassignement deadline not past |
☐ |
|
is_users_role |
boolean |
Is the shifts role one of the current user roles |
☐ |
|
job_title |
string |
Job Title |
☐ |
|
leave_warning |
string |
Leave Warning |
☐ |
|
manager_id_label |
string |
|
☐ |
|
manager_id |
string |
|
☐ |
|
name |
string |
Note |
☐ |
|
overlap_slot_count |
int32 |
Overlapping Slots |
☐ |
|
partner_id_label |
string |
|
☐ |
|
partner_id |
string |
|
☐ |
|
previous_template_id_label |
string |
|
☐ |
|
previous_template_id |
string |
|
☐ |
|
publication_warning |
boolean |
Modified Since Last Publication |
☐ |
If checked, it means that the shift contains has changed since its last publish. |
recurrency_id_label |
string |
|
☐ |
|
recurrency_id |
string |
|
☐ |
|
repeat_interval |
int32 |
Repeat every |
☐ |
|
repeat_number |
int32 |
Repetitions |
☐ |
|
repeat_type |
string |
Repeat Type |
☐ |
|
repeat_unit |
string |
Repeat Unit |
☑ |
|
repeat_until |
datetime |
Repeat Until |
☐ |
|
repeat |
boolean |
Repeat |
☐ |
Modifications made to a shift only impact the current shift and not the other ones that are part of the recurrence. The same goes when deleting a recurrent shift. Disable this option to stop the recurrence.To avoid polluting your database and performance issues, shifts are only created for the next 6 months. They are then gradually created as time passes by in order to always get shifts 6 months ahead. This value can be modified from the settings of Planning, in debug mode. |
request_to_switch |
boolean |
Has there been a request to switch on this shift slot? |
☐ |
|
resource_id_label |
string |
|
☐ |
|
resource_id |
string |
|
☐ |
|
resource_type |
string |
Type |
☐ |
|
role_id_label |
string |
|
☐ |
Define the roles your resources perform (e.g. Chef, Bartender, Waiter...). Create open shifts for the roles you need to complete a mission. Then, assign those open shifts to the resources that are available. |
role_id |
string |
|
☐ |
Define the roles your resources perform (e.g. Chef, Bartender, Waiter...). Create open shifts for the roles you need to complete a mission. Then, assign those open shifts to the resources that are available. |
role_product_ids |
string |
|
☐ |
|
sale_line_id_label |
string |
|
☐ |
Sales order item for which this shift will be performed. When sales orders are automatically planned, the remaining hours of the sales order item, as well as the role defined on the service, are taken into account. |
sale_line_id |
string |
|
☐ |
Sales order item for which this shift will be performed. When sales orders are automatically planned, the remaining hours of the sales order item, as well as the role defined on the service, are taken into account. |
sale_line_plannable |
boolean |
Plan Services |
☐ |
If enabled, a shift will automatically be generated for the selected role when confirming the Sales Order. Only employees with this role will automatically be assigned shifts for Sales Orders containing this service. |
sale_order_id_label |
string |
|
☐ |
|
sale_order_id |
string |
|
☐ |
|
self_unassign_days_before |
int32 |
Days before shift for unassignment |
☐ |
Deadline in days for shift unassignment |
start_datetime |
datetime |
Start Date |
☐ |
|
state |
string |
Status |
☐ |
|
template_autocomplete_ids |
string |
|
☐ |
|
template_creation |
boolean |
Save as Template |
☐ |
|
template_id_label |
string |
|
☐ |
|
template_id |
string |
|
☐ |
|
template_reset |
boolean |
Template Reset |
☐ |
|
unassign_deadline |
datetime |
Deadline for unassignment |
☐ |
|
user_id_label |
string |
|
☐ |
Related user name for the resource to manage its access. |
user_id |
string |
|
☐ |
Related user name for the resource to manage its access. |
was_copied |
boolean |
This Shift Was Copied From Previous Week |
☐ |
|
work_address_id_label |
string |
|
☐ |
|
work_address_id |
string |
|
☐ |
|
work_email |
string |
Work Email |
☐ |
|
work_location_id_label |
string |
|
☐ |
|
work_location_id |
string |
|
☐ |
|
working_days_count |
decimal |
Working Days |
☐ |
|
write_date |
datetime |
Last Updated on |
☐ |
|
write_uid_label |
string |
|
☐ |
|
write_uid |
string |
|
☐ |
|
01-03-2023 15:29 Version 22.1.135-BETA+3826