-
Notifications
You must be signed in to change notification settings - Fork 789
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
feat: base Roster Management #1760
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is really good features. I am waiting from since version-13. Thanks frappe team and specially @krantheman @ruchamahabal |
When this feature ready for version 15? |
…checkins and attendance before cancelling
When this feature ready for version 15? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pending stuff to be covered separately
- Documentation
- Test cases for backend operations (auto creation of schedules, etc.)
- Update favicon for roster workspace
ruchamahabal
added a commit
that referenced
this pull request
Aug 30, 2024
…1760 feat: base Roster Management (backport #1760)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Roster Management
Extension of the current shift management feature to a full-fledged roster management system.
Documentation: https://docs.frappe.io/hr/roster
Features
Calendar View
Details
Visualization of Employee - Shift, Leave, and Holiday mapping in an Employee vs Day of the Month representation.
Search and Filtering
Details
Shift Creation
Details
The roster allows for two types of shifts to be created.
Regular Shifts
Creating a regular shift results in the creation of a single Shift Assignment. Shifts spanning a week or less are automatically created as regular. For shifts spanning over a week, the user will have to select all days from the Repeat On Days field, under Schedule Settings, to ensure that a regular shift is created.
Repeating/Scheduled Shifts
The user has the option to turn shifts spanning over a week into repeating shifts. This can be done by selecting specific days from the Repeat On Days field and setting the Frequency field—which represents the frequency of repetition. Doing so will create a Shift Assignment Schedule with the selected details.
Shift Assignment Schedule is a new DocType that can be used for creating repeating shifts automatically. Apart from Shift Details, Repeat On Days, and Frequency, this DocType also has an Enabled field, which needs to be selected to continue creating shifts automatically, and a Create Shifts After field, which is the date after which shifts will be created. When enabled, shifts will be automatically created via a background job for 90 days following the Create Shifts After date, if that date lies before or on the day of the job running.
While creating repeating shifts using the roster, there can be three scenarios:-
If Allow Multiple Shift Assignments for Same Date under HR Settings is enabled, multiple shifts can be created on a single day, provided that their timings do not overlap.
Shift Update
Details
End Date and Status fields of submitted Shift Assignments can be updated using the roster.
Shift Deletion
Details
Clicking on the Delete button presents the user with three options:-
None of these actions can be performed if there are Employee Checkin or Attendance records linked with the Shift Assignment at hand.
Shift Moving
Details
Shifts can be dragged and dropped to move them. Dropping a shift on another one will swap it with that.
Shift.Moving.mov