Tree corruption issue with unclear reproduction steps but clear impact on HR module.
The issue describes a tree corruption problem in the HR module where employees appear incorrectly in lists but not in tree views. The problem has been occurring since February 2026 and affects multiple managers. The current workaround is manual re-initialization of reports, but a proper fix is needed.
We've fixed most tree corruption issues a long time ago. We've not observed issues related to tree corruption in last ~2 years.
Only solution is to identify and eliminate all such issues.
Originally posted by @ankush in #32923
@ankush
Information about bug I have an employee who is the manager of the other 2 active employees (mapped on the reports to field on the Employee doctype). They can, however, see an extra employee on the Employee List, but not on the Salary Slip. Note that the extra employee is not available on the Tree View
This is happening for multiple managers and different reporting lines. Current quick fix is to re-initialise the reports to field by manually removing and re-adding as the Report To. Also, explicitly adding user permissions.
Super unusual and has been happening since February 2026 noticed first on the Appraisal Doctype
Module HR ERPNext
Version
Installation method Frappe Cloud
Relevant log output / Stack trace / Full Error Message. No response
Claim this issue to let others know you're working on it. You'll earn 20 points when you complete it!