Issue Statement:
In my site, previous deverloper who was working on that site allocated 12 casual leaves to every emplyees. Now I am creating other leave types like Earned leaves, Sick Leaves etc. I am little confused how can I do that.
Issue Detailed Description:
If I try to cancel and delete all the previous leave allocations, frappe won’t let me do that because it is linked to the leave application and leave application is linked to the attendance doctype. So I have to cancel all the linked doctypes. This will cause the attendance issue and at the end it will cause issues in the payroll.
I want to allocate the leaves to the employees with the latest leave types.
Please guide me what would be the best way to do that.