---
title: "calendar_leaves (Odoo)"
description: "itgen_odoo_calendar_leaves"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/odoo/Odoo.resource.calendar_leaves
original: https://documentation.invantive.eu/en/datamodels/odoo/Odoo.resource.calendar_leaves
updated: 2023-03-01T15:29:04Z
license: https://documentation.invantive.eu/en/
---

# calendar_leaves: Odoo itgen_odoo_calendar_leaves

`read only` `per partition`

- Catalog: `Odoo`
- Schema: `resource`
- Label: itgen_odoo_calendar_leaves

Resource Time Off Detail

Can only retrieve data.

## Table Columns

The columns of the table `calendar_leaves` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `calendar_id` | `varchar2` |  | [ ] |  |  |
| `calendar_id_label` | `varchar2` |  | [ ] |  |  |
| `company_id` | `varchar2` |  | [ ] |  |  |
| `company_id_label` | `varchar2` |  | [ ] |  |  |
| `create_date` | `datetime` | Created on | [ ] |  |  |
| `create_uid` | `varchar2` |  | [ ] |  |  |
| `create_uid_label` | `varchar2` |  | [ ] |  |  |
| `date_from` | `datetime` | Start Date | [x] |  |  |
| `date_to` | `datetime` | End Date | [x] |  |  |
| `display_name` | `varchar2` | Display Name | [ ] |  |  |
| `holiday_id` | `varchar2` |  | [ ] |  |  |
| `holiday_id_label` | `varchar2` |  | [ ] |  |  |
| `id` | `int32` | ID | [ ] |  |  |
| `name` | `varchar2` | Reason | [ ] |  |  |
| `resource_id` | `varchar2` |  | [ ] |  | If empty, this is a generic time off for the company. If a resource is set, the time off is only for this resource |
| `resource_id_label` | `varchar2` |  | [ ] |  | If empty, this is a generic time off for the company. If a resource is set, the time off is only for this resource |
| `time_type` | `varchar2` | Time Type | [ ] |  | Whether this should be computed as a time off or as work time (eg: formation) |
| `timesheet_ids` | `varchar2` |  | [ ] |  |  |
| `work_entry_type_id` | `varchar2` |  | [ ] |  |  |
| `work_entry_type_id_label` | `varchar2` |  | [ ] |  |  |
| `write_date` | `datetime` | Last Updated on | [ ] |  |  |
| `write_uid` | `varchar2` |  | [ ] |  |  |
| `write_uid_label` | `varchar2` |  | [ ] |  |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

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

