Skip to content

Latest commit

 

History

History
 
 

hr_holidays_legal_leave

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
License: AGPL-3

HR Holidays Legal Leave

Allows the define which holiday type is to be considered legal/annual leave type. Currently Odoo assumes by default leave type with limit=False. This is a problem if you have more than one 'limited' leave type and specially confusing when trying to set leaves from the employee form.

Installation

  • clone the branch 8.0 of the repository https://github.com/OCA/hr
  • add the path to this repository in your configuration (addons-path)
  • update the module list
  • search for "HR Holidays Legal Leave" in your addons
  • install the module

Configuration

To configure this module, you need to:

Company setup * Go to the company and select the leave type to use as legal leave

HR Module Setup * Assign legal leave type via Settings > Human Resources

Usage

Try me on Runbot

Known issues / Roadmap

By default, Odoo calculated leaves only by days, so there should be possible to calculate leaves by number of hours or to change the "number of days" field from integer to float. There are a few cases that should improve the allocation requests:

  • Each employee should have assigned to the contract a field about number of leaves negotiated, if different from the Legal Leave type number.
  • For the first assignation the number of days should be calculated depending of the date of employment.
  • Employees transfered between the same company Group should get the remaining days from previous company.

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

Credits

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.