search_holidays
Retrieve holiday records from Odoo by specifying a date range. Optionally filter by employee to see their planned leaves.
Instructions
Search for holidays within a date range
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | ||
| instance | No | ||
| start_date | Yes | ||
| employee_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error message, if any | |
| result | No | List of holidays found | |
| success | Yes | Indicates if the search was successful |