You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Attendance is created based on Employee Checkins, it correctly maps to the respective Checkins. However, two issues arise during cancellation and amendment:
Attendance Not Relinking on Amendment
When Attendance is canceled, the attendance field in Employee Checkin is unlinked (which is expected).
However, when the canceled Attendance is amended and submitted again, it does not relink to the corresponding Checkins, leading to incorrect attendance tracking.
Skip Auto Attendance Check Not Verified on Cancellation
When canceling an Attendance record, the system does not automatically check the "Skip Auto Attendance" flag.
If this checkbox is not manually marked, and Attendance is later recreated via a cron job, it gets incorrectly mapped to multiple Checkins, causing data inconsistencies.
Steps to Reproduce:
Create an Attendance record based on Employee Checkins.
Verify that the attendance field in Employee Checkin is correctly linked.
Cancel the Attendance and confirm:
The attendance field in Employee Checkin is unlinked (expected behavior).
The Skip Auto Attendance flag remains unchecked (incorrect behavior).
Amend the canceled Attendance and submit it again.
Observe that:
The attendance field in Employee Checkin remains unlinked (should relink).
If Attendance is recreated via cron.
Expected Behavior:
When Attendance is amended and submitted, it should correctly relink to Employee Checkins.
When Attendance is canceled, the system should automatically check "Skip Auto Attendance" to prevent incorrect cron-based mappings.
Impact:
Incorrect Attendance tracking due to missing links after amendments.
Duplicate/multiple mappings when Attendance is recreated via cron.
Payroll and reporting issues caused by inaccurate Employee Checkin data.
Suggested Fix:
✅ Ensure that when Attendance is amended and submitted, it updates the attendance field in Employee Checkin.
✅ Modify the cancellation logic to automatically check "Skip Auto Attendance" to prevent incorrect mappings.
Module
HR
Version
Frappe HR Version - 15.41.0
Installation method
None
Relevant log output / Stack trace / Full Error Message.
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Information about bug
When Attendance is created based on Employee Checkins, it correctly maps to the respective Checkins. However, two issues arise during cancellation and amendment:
Attendance Not Relinking on Amendment
Skip Auto Attendance Check Not Verified on Cancellation
Steps to Reproduce:
Expected Behavior:
Impact:
Incorrect Attendance tracking due to missing links after amendments.
Duplicate/multiple mappings when Attendance is recreated via cron.
Payroll and reporting issues caused by inaccurate Employee Checkin data.
Suggested Fix:
✅ Ensure that when Attendance is amended and submitted, it updates the attendance field in Employee Checkin.
✅ Modify the cancellation logic to automatically check "Skip Auto Attendance" to prevent incorrect mappings.
Module
HR
Version
Frappe HR Version - 15.41.0
Installation method
None
Relevant log output / Stack trace / Full Error Message.
Code of Conduct
The text was updated successfully, but these errors were encountered: