-
-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ADD] hr_attendance_break #142
Conversation
@rafaelbn I'm curious what Spanish law says about mandatory work breaks? Plan here is to have the checkout screen scream if you worked longer than is allowed, and offer to adjust the break hours field accordingly. For what my DE customer needs a minimum length for a break (15min) and a table
would suffice, meaning if you work 6h or longer, you have to take half an hour break, if you work 9h or longer, you have to take at least three quarters. Would this be general enough to cover ES too? |
bb6c3b9
to
3572b25
Compare
thanks, I keep getting fooled by the demo user which I use for unprivileged tests being actually quite privileged in HR |
Thank you. Now it works for ordinary employees. |
Two other issues:
|
Should I then keep two fields, And we make also short breaks count towards the total when they have reason |
|
343137a
to
c8f95f3
Compare
4a736ee
to
de6701b
Compare
If you click on break and try to stop the break again immediately, this will fail. It seems, that breaks < 1 minute cannot be interrupted. |
that's because your custom code changes the resolution of this field to 1 minute - not sure how to deal with that yet |
Ahh, ok. Than this is no issue of this module. And maybe not that important. |
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
This module lets employees take breaks on the attendance screen:
This allows them to check in at the beginning of the working day, check out at the end and record breaks in between.
To be sure employees take enough breaks, there's also flagging for employees who didn't take enough breaks.