Employee attendance validation.
Project description
This add a validation mechanism to review employee attendance and generate compensatory hours (allocated leaves) that can be used later as day off or to regulate credits leaves as this module is compatible with hr_holidays_credit module.
This is based on the hr_attendance_overtime module which mark rows as “overtime” those rows are not due by default as it could came from possible mist check-out. So manager can decide to add or not those overtime attendance lines or not and compute or adjust compensatory/leaves hours to generate.
..note:
If you are allowing flexible hours - check-in/check-out range are bigger than average hours per day - So you can generate compensatory hours from lines that are not marked as overtime.
Once review is validated attendance lines are locked on that period.
At the end managers can check holidays allocation per year and by employee to make sure allowed employee compensatory hours are not over.
Employees can: - access to validated sheets to review hours taken account - see current week hours on check-in view
Table of contents
Configuration
Ensure employee weeks are properly set
Set the leave type to use by generating compensatory hours from attendance review (to be done in hr attendance configuration)
You can ignore some leaves in validation sheet by ticking the “Ignored in attendance validation” (for instance it can be useful if you manage employee remote days using hr.leave in such case you want to ignore those lines)
once all leaves and attendances has been recorded you can generate leave reviews by setting up a cron job running every monday morning to generate the previous week with the following code on hr.attendance.validation.sheet model:
model.generate_reviews()
Usage
Once review has been generate by ir cron manager are able to open each one on Attenances > Manager > Attendance validation
On each form decide if recorded overtime are due or not
change the amount of allocated compensatory hours to generate
validate the review to generate the allocation
Known issues / Roadmap
Improve validation sheet to choose any frame validation/reviews date to date/daily/2 weeks/monthly… it has been developed with the weekly reviews in mind.
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 to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Pierre Verkest <pierreverkest84@gmail.com>
Maintainers
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.
Current maintainer:
This module is part of the OCA/hr-attendance project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo14_addon_hr_attendance_validation-14.0.1.1.0-py3-none-any.whl
.
File metadata
- Download URL: odoo14_addon_hr_attendance_validation-14.0.1.1.0-py3-none-any.whl
- Upload date:
- Size: 57.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 426ec1cf8fab3184002196e4a1361cbc190867f412c22d80cc943d44183611c8 |
|
MD5 | 053b41803ceef95b964c3399f9d157b5 |
|
BLAKE2b-256 | a8334f0ee86a247ba4ae9a6657fb3d3d4dc37fa1898b15413185b4534d54f4ab |