HR Timesheet Holiday
This module adds a relation between Leave Types and Projects/Analytic Accounts. When a Leave Request is granted, the granted days are converted to hours and added as a line to the Analytic Account.
When the leave is revoked, the analytic lines are removed again.
The analytic lines are read-only, so you cannot edit them directly, just by granting or revoking leave requests.
The hours to input per day is configurable at company level.
Limitations:
Consider that the work days are Monday to Friday
Only allow leaves account linked to project
Configuration
To configure this module, you need to:
Find your company in Settings - Companies and configure the amount of hours per workday under Configuration - Timesheets - Timesheet Hours Per Day.
For each Leave Type under Human Resources - Leave Types, select a Project that allows timesheets or create one.
Usage
To use this module, you need to:
Approve a Leave Request
See the hours added to Timesheet Activities
Revoke a Leave Request
See the hours removed from Timesheet Activities
Known issues / Roadmap
Hours per workday should be configurable per employee, not only by company. To make this easier, the function _get_hours_per_day was made which can be overridden by child modules.
We should probably start using resource calendars.
hr_timesheet_sheet dependency can be changed to hr_timesheet, now only included because hr_timesheet_sheet adds the Timesheet configurations menu in Company view.
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
Tom Blauwendraat <tom@sunflowerweb.nl>
Terrence Nzaywa <terrence@sunflowerweb.nl>
Holger Brunn <hbrunn@therp.nl>
Aaron Henriquez <ahenriquez@eficent.com>
Maintainer
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-timesheet-holiday 10.0.1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odoo10_addon_hr_timesheet_holiday-10.0.1.0.1-py2-none-any.whl | Python 2 | none | any | Details for odoo10_addon_hr_timesheet_holiday-10.0.1.0.1-py2-none-any.whl |
Release files / odoo10_addon_hr_timesheet_holiday-10.0.1.0.1-py2-none-any.whl
| Download URL | odoo10_addon_hr_timesheet_holiday-10.0.1.0.1-py2-none-any.whl |
|---|---|
| Size | 31.3 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
a42ecc1000812a1aa4d868b19de643bcea6a50faf7813d01b78197155745408b
|
|
BLAKE2b-256 checksum How to use checksums |
ddc6eebe9405ba56331e342f3c6493a933d13b07f97694b9fe8c3b2094b05a22
|
| 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
|
Security for odoo10-addon-hr-timesheet-holiday 10.0.1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.