We have an issue with Employee List View (accessible from Home Page - HR - Employee). The issue is specific to a Manager login when he/she navigates to the Employee List View. The logged-in Manager does not see the correct employee list. Here’s what we did
- We checked the “Reports To” and “Department” fields in Employee records and found them correct.
- We cleared the “Reports To” field and reentered the manager’s employee id.
- The Employee List view for the manager now shows some additional employees even though they are never reporting to this manager or were never re-configured as described in Step 2 above.
- To ensure that the database writes and reads are correct. We created a Query Report to check if the database is correct and found that the database is correct.
First found on a V13x Frappe Cloud installation but is reproducible on V14x as well.
Has anyone faced a similar issue?
It’s an annoyingly trivial issue but is quickly becoming a major dissatisfaction issue with this customer, but customers start to lose confidence thinking about what else is wrong. My colleague has reported this issue but hasn’t received any feedback in the last 3 weeks.
If anyone has any information/workaround/solution please do share.
Let’s assume your organization chart follows:
CEO ← CFO ← Finance Manager<-- Account
In this case Finance Manager can see all accounts under her. CFO can see all Finance Manager plus all accounts linked to Finance Managers. CEO can see the CFO, Finance Manager and accounts in the hierarchy.
If, you are getting this then this is normal behavior.
If you don’t want this, you can configure differently under User Permission and tick hide Descendants.
That’s not the case. The Manager sees employees that are not in his Hierarchy tree.
Ok, in that case also checks that all user login is linked with the employee record under User ID and user permissions are created automatically.
Yes, that is exactly what we discovered. The user permission records for the employees in the span of control of the manager were not created. After creating these records manually the problem was solved.
Your reply validates our findings. So Thank you for that.
That said, I am unsure at what point the user permission records get created. I reckon these should get created when you setup the “Reports To” field in the employee record.
User permission Records get created at the time of Linking User ID and not at the time of Reports to Field.