Skip to main content

Manage Public Holidays

Project description

License: AGPL-3

HR Public Holidays

This module allows to define public holidays at country or state level by year.

These holidays will be taken into account in standard resource allocation and requests, and can be used by other modules as base data.

As well, this module will try to highlight known holidays in calendar views.


  1. Go to Leaves > Public Holidays > Public Holidays.
  2. Create a record, specifying:
    • Year for the holidays you are going to set.
    • Optionally, a country where the holidays apply. If not set, it means holidays are global.
  3. On “Public Holidays” section, introduce a line for each of the holidays you want to specify.
  4. Optionally, you can set at line level several countries for limiting the holidays to that countries.

On following years, you can speed up public holidays creation using a wizard:

  1. Go to Leaves > Public Holidays > Create Next Year Public Holidays.
  2. If there’s no special situation, you only need to click on “Create” for applying the same holidays as this year for the next.
  3. If you need to generate holidays for another year different from next one, or take as source another year different from the last one, go to the “Optional” page for configuring these parameters.

To customize the color to highlight public holidays in calendar views:

  1. navigate to Settings > Technical > System parameters
  2. provide a value to calendar.public_holidays_color key (both hex RGB and valid web color names will do, and invalid color settings would be ignored completely).


Try me on Runbot

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.



  • Odoo Community Association: Icon.



Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page