Missing Check-Out not detected after shift end — next Check-In defaults to Check Out days later
Is your feature request related to a problem? Please describe.
An employee may forget to Check-Out. This is a normal human error, but the system already knows the employee's Shift Assignment, shift start time, shift end time, and allowed Check-Out window. Once that working shift has ended and the permitted Check-Out window has also passed, the system should logically recognize that the employee did not complete the Check-Out.
Instead of keeping the previous Check-In open indefinitely until the employee returns, we believe the system should treat it as a Missing Check-Out / Missing Punch exception for that specific shift/date.
For example: Employee Check-In: 9 September, 12:09 PM Shift ends: 8:00 PM Allowed Check-Out window ends thereafter No Check-Out was recorded.
Once that shift and allowed Check-Out period are completed, the system should flag the record as Missing Check-Out for HR review. It should not continue carrying that incomplete transaction forward and make the employee perform a Check-Out several days later.
Otherwise, when the employee returns on 29 September, the system still shows Check Out for the 9 September Check-In. If the employee performs that Check-Out, the system records the Check-Out on 29 September, which creates a record spanning completely different working dates and does not represent the actual attendance situation.
From a process perspective, we believe the expected behaviour should be:
Previous Shift: Check-In exists + Check-Out not completed within the shift/allowed window → mark or flag as Missing Check-Out / Missing Punch for HR action.
Current Shift: Allow the employee to perform a fresh Check-In according to today's Shift Assignment without being blocked by the old incomplete punch.
HR can then separately review and correct the previous Missing Check-Out if required.
The system should help manage normal human mistakes rather than allowing an incomplete punch to remain open indefinitely and affect future working days.
Describe the solution you'd like
Recommendation - There should a Flag/Popup to the HR and the Employee itself that he/she is missed the Check-Out on the same day after one hour of shift end time because one hour is enough to remember this. Also a email should also generated related to this if the Flag or Popup is not feasible. It is a missing concept in the Check-In/Check-Out feature in Mobile login App.
Note: The system should also consider the Shift Assignment, especially since many employees follow dual shifts. This should be taken into account in this scenario, as the determination of whether a Check-In is created and a Check-Out is missing is entirely based on the shift start and end times.
Describe the alternatives you've considered
No response
Additional context
No response
Source: frappe/hrms