Skip to main content
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.

Configuration

  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).

Usage

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.

Credits

Images

  • Odoo Community Association: Icon.

Contributors

Maintainer

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 https://odoo-community.org.

Metadata

Release files for odoo10-addon-hr-public-holidays 10.0.1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo10-addon-hr-public-holidays 10.0.1.3.0
File Interpreter ABI Platform
odoo10_addon_hr_public_holidays-10.0.1.3.0-py2-none-any.whl Python 2 none any Details

Release files / odoo10_addon_hr_public_holidays-10.0.1.3.0-py2-none-any.whl

Download URL odoo10_addon_hr_public_holidays-10.0.1.3.0-py2-none-any.whl
Size 85.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
5a8e34a8e80c7e3a68db657bb3f6e6a2932d3070223317ef5da4d811c654859a
BLAKE2b-256 checksum
How to use checksums
88a91595869de96eb5f0a9a529cfa64aba8370200df69e4bf2a2db9bdcfc2607
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/30.4.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3

Release history Release notifications | RSS feed

This release

10.0.1.3.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page