Could you please suggest me that is it possible if I’d like to create a leave by minutes or hours?
Since the existing uses by date only and also provides “Half day” but if I’d like to make a leave for 2 hours or 2 and a half hours, how can I do this?
Thank you for your prompt response. I appreciate your insight. Our use case involves a need for more granular leave tracking. In our organization, employees often require leaves for specific hours or minutes due to varying circumstances.
For example, there are instances where employees may need to attend a personal appointment, handle urgent matters, or take short breaks for personal reasons. The ability to request leaves in hours or minutes would provide a more accurate representation of their time away from work.
While I understand that this might be a unique requirement, it aligns with the specific needs of our team members. I believe having the flexibility to request leaves in shorter increments would enhance the accuracy and efficiency of our leave management process.
If there are any alternative tools or solutions you could recommend that cater to such specific leave tracking needs, I would greatly appreciate your suggestions. Thank you again for your assistance.
For some of our clients we have implemented a concept we call Flexitime. It uses accurate attendance tracking (hours + minutes) and stores the actual and expected working time as well as the difference in the Attendance DocType. Employees can compensate the difference by working longer/shorter hours another day or taking a compensatory day off. A custom report gives a detailed overview of each employees’ balance. An additional DocType Flexitime Correction allows HR to set the balance to an arbitrary, agreed upon number.
@kittiu Hello My friends…
Thank you so much for your contribution, but unfortunately, that didn’t work for me. Could you please provide the full leave_application.py file…? @fzhan is it working for you…?