When employee creates a leave application and assigns someone as leave approver, leave approver cannot see that leave application.
There are lots of discussion present on the same topic but I couldn’t find any concrete solution.
I have workflow in place
Images are confusing, 2nd image is leave approver view? it seems correct, shows that its on open status.
Issue is resolved. I have created a server side script to create/update user permission whenever there is any change on employee doctype.
Dear @saurabh064, I would be so thankful if you could please share the code snippet which creates the user permission.