Skip to main content

Employee attendance validation.

Project description

Beta License: AGPL-3 OCA/hr-attendance Translate me on Weblate Try me on Runboat

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

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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:

petrus-v

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


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

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