create_public_holiday
Add a public holiday to Odoo's working calendar by specifying the name, date, and calendar. This tool configures global time off for employee scheduling and attendance tracking.
Instructions
Create a public holiday in Odoo (global time off on working calendar).
Args:
name: Holiday name (e.g., "Nouvel An", "Fete nationale")
date: Holiday date in YYYY-MM-DD format
calendar_id: Working calendar ID (default: 1 = Standard 40 hours/week)
Returns:
Confirmation with created holiday ID
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| date | Yes | ||
| calendar_id | No |