HR Time management module for ERPNext.
- Flextime
- Easy checkin modal
- Creation of daily status docs
- Creation of attendance docs
- Definition of individual time models
- Definition of break time
- Report for present employees
This module is based on Frappe HR module, which needs to be installed first.
Install the modul as usual:
bench get-app hr_time https://github.com/atlas-aero/erpnext_hr_time
bench --site <site_name> install-app hr_time
Time model is defined by "flextime definition" doc: https://erp.test.example/app/flextime-definition
Each definition is linked 1:1 to employee grade.
Per default the module ships with 40 hours monday to friday time model.
Enforced break times are defined by "break time definition doc": https://erp.test.example/app/break-time-definition
The module is shipped with the mandatory break times for Germany as standard.
Assign flextime model to employee:
- Set time model to "Flextime account"
- Set grade (e.g. "Standard full-time 40 hours")
- Correct or recreate the missing/wrong checkin docs.
- Delete all corresponding "daily flextime status" docs of all past days up to the date with the incorrect entries
- Optional: Delete the attendance docs of the given date
The processing cronjob (runs hourly) will recalculate all missing "daily flextime status" docs. The process can be triggered manually by using the button "Process daily flextime status": https://erp.test.example/app/trigger-hr-time-management-batch-jobs
Any form of support is greatly appreciated. Feel free to create issues and PRs. See DEVELOPMENT for more details.
Executing unit tests:
python -m unittest discover hr_time/tests
Checking code style
pycodestyle hr_time
Fixing code style
autopep8 -r -i hr_time
Licensed under MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT). Each contributor agrees that his/her contribution covers the license.