hrms icon indicating copy to clipboard operation
hrms copied to clipboard

[Need Periodic Holiday List Assignment] Attendance shows Absent / Blank after changing Holiday List for Next Year

Open sjain17 opened this issue 11 months ago • 1 comments

Information about bug

Attendance shows Absent / Blank after changing the Holiday List for Next Year. Suppose we have an employee who worked for 2023 and at that time the holiday list was having on a particular date. However, after changing the holiday list for 2024 the employee is showing as absent in old data.

Module

HR

Version

ERPNext: v15.16.2 (HEAD) Frappe Framework: v15.17.1 (HEAD) Frappe HR: v15.12.0 (HEAD)

Installation method

FrappeCloud

Relevant log output / Stack trace / Full Error Message.

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

sjain17 avatar Mar 11 '24 07:03 sjain17

Currently, holiday list assignments are not periodic. It's a single holiday list set as default for employees/companies. For backdated transactions that get processed later, this will cause problems. So this would be a feature request to maintain periodic holiday list assignments for every year/custom period like shift assignments.

Currently, one solution for this is to add your previous year's few months' holidays (months for which attendance is pending) to the new holiday list. So that the system identifies them as holidays.

ruchamahabal avatar Mar 11 '24 07:03 ruchamahabal