---
title: "leave_allocation (Odoo)"
description: "itgen_odoo_leave_allocation"
language: it
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/it/datamodels/odoo/Odoo.hr.leave_allocation
original: https://documentation.invantive.eu/en/datamodels/odoo/Odoo.hr.leave_allocation
updated: 2026-11-18T01:03:26Z
license: https://documentation.invantive.eu/it/
---

# leave_allocation: Odoo itgen_odoo_leave_allocation

`read only` `per partition`

- Catalogo: `Odoo`
- Schema: `hr`
- Etichetta: itgen_odoo_leave_allocation

Time Off Allocation

È possibile solo recuperare i dati.

## Riepilogo

Allocation Requests Access specifications: similar to leave requests

## Colonne della tabella

Di seguito sono riportate le colonne della tabella `leave_allocation`. Ogni colonna ha un tipo di dati SQL. Un nuovo valore non nullo deve essere fornito per ogni colonna richiesta in ogni momento durante l'inserimento e l'aggiornamento.

| Name | Tipo di dati | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `accrual_plan_id` | `varchar2` |  | [ ] |  |  |
| `accrual_plan_id_label` | `varchar2` |  | [ ] |  |  |
| `active` | `boolean` | Active | [ ] |  |  |
| `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. |
| `activity_calendar_event_id` | `varchar2` |  | [ ] |  |  |
| `activity_calendar_event_id_label` | `varchar2` |  | [ ] |  |  |
| `activity_date_deadline` | `datetime` | Next Activity Deadline | [ ] |  |  |
| `activity_exception_decoration` | `varchar2` | Activity Exception Decoration | [ ] |  | Type of the exception activity on record. |
| `activity_exception_icon` | `varchar2` | Icon | [ ] |  | Icon to indicate an exception activity. |
| `activity_ids` | `varchar2` |  | [ ] |  |  |
| `activity_state` | `varchar2` | Activity State | [ ] |  | Status based on activities Overdue: Due date is already passed Today: Activity date is today Planned: Future activities. |
| `activity_summary` | `varchar2` | Next Activity Summary | [ ] |  |  |
| `activity_type_icon` | `varchar2` | Activity Type Icon | [ ] |  | Font awesome icon e.g. fa-tasks |
| `activity_type_id` | `varchar2` |  | [ ] |  |  |
| `activity_type_id_label` | `varchar2` |  | [ ] |  |  |
| `activity_user_id` | `varchar2` |  | [ ] |  |  |
| `activity_user_id_label` | `varchar2` |  | [ ] |  |  |
| `allocation_type` | `varchar2` | Allocation Type | [x] |  |  |
| `approver_id` | `varchar2` |  | [ ] |  | This area is automatically filled by the user who validates the allocation |
| `approver_id_label` | `varchar2` |  | [ ] |  | This area is automatically filled by the user who validates the allocation |
| `can_approve` | `boolean` | Can Approve | [ ] |  |  |
| `can_reset` | `boolean` | Can reset | [ ] |  |  |
| `category_id` | `varchar2` |  | [ ] |  |  |
| `category_id_label` | `varchar2` |  | [ ] |  |  |
| `create_date` | `datetime` | Creato il | [ ] |  |  |
| `create_uid` | `varchar2` |  | [ ] |  |  |
| `create_uid_label` | `varchar2` |  | [ ] |  |  |
| `date_from` | `datetime` | Data di inizio | [x] |  |  |
| `date_to` | `datetime` | Data di fine | [ ] |  |  |
| `department_id` | `varchar2` |  | [ ] |  |  |
| `department_id_label` | `varchar2` |  | [ ] |  |  |
| `display_name` | `varchar2` | Nome visualizzato | [ ] |  |  |
| `duration_display` | `varchar2` | Allocated (Days/Hours) | [ ] |  | Field allowing to see the allocation duration in days or hours depending on the type_request_unit |
| `employee_company_id` | `varchar2` |  | [ ] |  |  |
| `employee_company_id_label` | `varchar2` |  | [ ] |  |  |
| `employee_id` | `varchar2` |  | [ ] |  |  |
| `employee_id_label` | `varchar2` |  | [ ] |  |  |
| `employee_ids` | `varchar2` |  | [ ] |  |  |
| `employee_overtime` | `numeric` | Total Overtime | [ ] |  |  |
| `has_message` | `boolean` | Has Message | [ ] |  |  |
| `holiday_status_id` | `varchar2` |  | [ ] |  |  |
| `holiday_status_id_label` | `varchar2` |  | [ ] |  |  |
| `holiday_type` | `varchar2` | Allocation Mode | [x] |  | 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` | `numeric` | Time off Taken | [ ] |  |  |
| `linked_request_ids` | `varchar2` |  | [ ] |  |  |
| `manager_id` | `varchar2` |  | [ ] |  |  |
| `manager_id_label` | `varchar2` |  | [ ] |  |  |
| `max_leaves` | `numeric` | Max Leaves | [ ] |  |  |
| `message_attachment_count` | `int32` | Numero di allegati | [ ] |  |  |
| `message_follower_ids` | `varchar2` |  | [ ] |  |  |
| `message_has_error` | `boolean` | Message Delivery error | [ ] |  | If checked, some messages have a delivery error. |
| `message_has_error_counter` | `int32` | Number of errors | [ ] |  | Number of messages with delivery error |
| `message_has_sms_error` | `boolean` | SMS Delivery error | [ ] |  | If checked, some messages have a delivery error. |
| `message_ids` | `varchar2` |  | [ ] |  |  |
| `message_is_follower` | `boolean` | Is Follower | [ ] |  |  |
| `message_main_attachment_id` | `varchar2` |  | [ ] |  |  |
| `message_main_attachment_id_label` | `varchar2` |  | [ ] |  |  |
| `message_needaction` | `boolean` | Action Needed | [ ] |  | If checked, new messages require your attention. |
| `message_needaction_counter` | `int32` | Numero di azioni | [ ] |  | Number of messages which requires an action |
| `message_partner_ids` | `varchar2` |  | [ ] |  |  |
| `mode_company_id` | `varchar2` |  | [ ] |  |  |
| `mode_company_id_label` | `varchar2` |  | [ ] |  |  |
| `multi_employee` | `boolean` | Multi Employee | [ ] |  | Holds whether this allocation concerns more than 1 employee |
| `my_activity_date_deadline` | `datetime` | My Activity Deadline | [ ] |  |  |
| `name` | `varchar2` | Description | [ ] |  |  |
| `name_validity` | `varchar2` | Description with validity | [ ] |  |  |
| `nextcall` | `datetime` | Date of the next accrual allocation | [ ] |  |  |
| `notes` | `varchar2` | Reasons | [ ] |  |  |
| `number_of_days` | `numeric` | Number of Days | [ ] |  | Duration in days.Reference field to use when necessary. |
| `number_of_days_display` | `numeric` | Duration (days) | [ ] |  | If Accrual Allocation: Number of days allocated in addition to the ones you will get via the accrual' system. |
| `number_of_hours_display` | `numeric` | Durata (ore) | [ ] |  | 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` | `varchar2` |  | [ ] |  |  |
| `overtime_id_label` | `varchar2` |  | [ ] |  |  |
| `parent_id` | `varchar2` |  | [ ] |  |  |
| `parent_id_label` | `varchar2` |  | [ ] |  |  |
| `private_name` | `varchar2` | Allocation Description | [ ] |  |  |
| `state` | `varchar2` | 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` | `varchar2` |  | [ ] |  |  |
| `type_request_unit` | `varchar2` | Take Time Off in | [ ] |  |  |
| `validation_type` | `varchar2` | 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` | `varchar2` |  | [ ] |  | Website communication history |
| `write_date` | `datetime` | Last Updated on | [ ] |  |  |
| `write_uid` | `varchar2` |  | [ ] |  |  |
| `write_uid_label` | `varchar2` |  | [ ] |  |  |


## Note di rilascio

Cosa è cambiato, versione per versione, nelle tabelle, nelle colonne, negli attributi e nelle funzionalità del driver:

- [Odoo](/it/release-notes/drivers?driver=odoo)
