calendar_public_holiday
Provide country-specific public holiday calendars integrated with Odoo calendar events and tooling.
Key Features
- calendar.public.holiday: Stores yearly public holiday templates per country and blocks duplicate combinations of year and country.
- calendar.public.holiday: Offers partner-aware search helpers to retrieve holidays within a date range or check if a date is a public holiday.
- calendar.public.holiday.line: Captures individual holidays linked to a year, enforces same-year dates, and prevents duplicate days for overlapping states.
- calendar.public.holiday.line: Automatically creates, updates, and removes associated all-day confidential calendar events for each public holiday.
- calendar.public.holiday.line: Supports regional holidays through state assignments and a flag indicating whether the date may vary.
- calendar.public.holiday.next.year: Wizard duplicates the most recent holidays per country into a target year while rejecting templates containing February 29.
- calendar.event.type: Provides a dedicated "Public Holidays" event category used by generated calendar events.
- security: Regular users get read access to public holidays while system users can create, modify, delete, and run the next-year wizard.
- calendar: Adds configuration menus for managing public holidays and launching the next-year creation wizard.