OdooWiki OCA HUB

Calendar Holidays Public

calendar_public_holiday folder_open OCA/calendar open_in_new
HR/Calendar License: AGPL-3

This module handles public holidays.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you record public holidays per country and year, and automatically creates matching all-day calendar events so holidays appear in the Odoo calendar.

This module adds a Public Holidays area under the Calendar configuration menu. There you create a holiday calendar for a given year and country, and inside it list each holiday date with its name, the states it applies to, and whether the date may change from year to year.

  • Each holiday line automatically creates a confidential, all-day calendar event of the "Public Holidays" type, so holidays show up in the calendar; editing or deleting the line updates or removes that event.
  • Odoo blocks duplicate holiday calendars for the same year and country, and blocks duplicate holiday dates within the same calendar (including overlapping states).
  • A holiday date must fall in the same year as its calendar.
  • A wizard, "Create Next Year Public Holidays", copies the most recent holiday calendar of each country to the following year (or a year you choose), so you do not have to retype everything. It refuses to use a template year containing 29 February.
  • Other modules can ask whether a given date is a public holiday for a given contact, taking the contact's country and state into account.

Only administrators can create or change holiday records; other users can view them.

Depends on

calendar

Menus it adds

Public Holidaysmenu_calendar_public_holiday_viewmenu_create_next_year_public_holidays
Models and fields (3)
  • calendar.public.holiday · new modelyear (Calendar Year), line_ids, country_id
  • calendar.public.holiday.line · new modeldate, name, state_ids, meeting_id (Meeting), variable_date (Date may change), public_holiday_id
  • calendar.public.holiday.next.year · new modelyear, public_holiday_ids (Templates)

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 19.0

For adding public holidays:

  • Go to the menu Calendar \> Public Holidays \> Public Holidays.
  • Create your public holidays.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.