Hr Attendance Validation
Employee attendance validation.
Hr Attendance Validation
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
Authors
- Pierre Verkest
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.
Once the user has seen at least one product this snippet will be visible.