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.

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.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo10_addon_hr_public_holidays-10.0.1.3.0-py2-none-any.whl.

File metadata

File hashes

Hashes for odoo10_addon_hr_public_holidays-10.0.1.3.0-py2-none-any.whl
Algorithm Hash digest
SHA256 5a8e34a8e80c7e3a68db657bb3f6e6a2932d3070223317ef5da4d811c654859a
MD5 a69c1696f530ce233da3ed130352492d
BLAKE2b-256 88a91595869de96eb5f0a9a529cfa64aba8370200df69e4bf2a2db9bdcfc2607

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page