Inactive employees should not appear in HR module
Problem: Inactive employees (who have been removed from workspace) still appear in the HR module as employees, which is undesirable for teams using HR to manage current/active employees.
Proposed solution: We should hide inactive employees from the HR module.
Raised in community: https://hulycommunity.slack.com/archives/C06BJD10YBC/p1745472227590719
Connected to Huly®: UBERF-10349
No, it’s much more complicated. An employee is usually inactive only in two cases:
- A mistake (for example, if one user has two accounts — in this case, they should be merged, not simply removed).
- The employee was terminated. In this case, the employee must remain in the HR module even after being kicked, at least until the end of the current period (months, quarters, or years), as this may be very important for the accountants.
Denis Bykhov Oh okay, so it seems it’s intentional to show the inactive employee (in this case kicked employee) in HR? I made this issue based on discussion in a chat thread, Andrey Sobolev said HR doesn’t handle removed employees properly, and Andrey Platov said to assign to Anna. So maybe we need to discuss it more 😅
Yes, current behavior is also wrong, Probably good temporary solution is just have a view option to show/hide inactive users
Should we re-assign to Anna or someone else? (again the system unset the assignee and attributed it to me - I’ll create a new issue for this bug)
Hi @BykhovDenis , I was the one who raised this. My use case was as you mentioned above. The employee has left the organization and I have already removed them. However, two issues still exist:
Employees who have left are still showing up in the HR Active Timeline, which creates confusion.
We are currently able to tag inactive employees in chat, which should not be allowed.
Suggestion: Maybe we can have a separate tab for employees who have left, to keep things clearer.
There is two separate issue. We can assign main to Anna, (I mean make toggle for set inactive user visibility). About mentions it is a bit more complex issue.
As of the current develop branch, the HR module hides inactive employees by default: in Human resources > Schedule (and the department member table) there is a "Hide inactive" view option, and turning it off shows former employees again, marked as "Inactive", e.g. for period-end reporting. This was added in #10821, following the toggle approach suggested above; mentioning inactive users in chat was discussed as a separate topic. @ArtyomSavchenko could you close this issue if you agree?
@AbigailDawson — based on the check described above, this looks resolved in the current code. Could you please close this issue if you agree? If you think it is not fixed yet, please describe what still goes wrong (steps, expected vs. actual behaviour), so it can be looked at again.