Unable to find the HR module in ERPNext

I need access to Departments and Employees, but the HR workspace/menu is not visible in the sidebar.

What I have checked

  • Verified that the HR module is installed and enabled.

  • Assigned HR-related roles to my user.

  • Refreshed/reloaded ERPNext.

I can access Employee and Department through the global search bar, but the HR module/workspace itself does not appear in the module list.

Additional issue

When I try to enable the Employee role for my user, ERPNext throws the following error:

User [email protected]: removed employee role as there is no mapped employee

Questions

  1. Why is the HR workspace/module not appearing even though HR is installed and enabled?

  2. Is it mandatory to create and map an Employee record to the user before the HR module becomes visible?

  3. Are there any additional roles, permissions, or settings required to access the HR workspace?

Any guidance would be appreciated.

Hi @Darshan

I think the Employee is a linked table to HRMS (and thats why ERPNext is needed for HRMS)

Has it been removed from the administrator role?

Hope it helps

Thanks for the suggestion.

I do see that ERPNext automatically removes the Employee role from a user if there is no Employee record mapped to that user. I observed the same behavior for the Administrator account as well.

However, my main issue is that the HR workspace/module is not visible in the sidebar. HRMS appears to be installed, and I can access DocTypes such as Employee and Department through the global search. I also have the HR User role assigned.

Could the missing HR workspace be related to workspace visibility or permissions rather than the Employee role mapping?

Any pointers would be appreciated.

Try this: -

Go to Build → Views → Workspaces Doctype
Filter for the relevant workspaces under HR and Payroll module
If 7 of them (i think) exist then try: -

bench build
bench clear-cache
bench clear-website-cache

Also try editing one of them (just add a small cosmetic change and see if it shows up on the sidebar)
Also make sure the public checkbox is ticked

If the above does not work then i guess you have an role access problem - https://docs.frappe.io/framework/user/en/desk/workspace/access

Thanks for the suggestion. I checked the Workspace DocType, but I don’t see any HR or Payroll workspaces listed there at all. I only see workspaces such as Accounting, Buying, Selling, Stock, Manufacturing, CRM, etc.

Does this indicate that HRMS is not installed correctly or that the HR/Payroll workspaces were not created during installation? I can still access Employee and Department through Global Search, which is why I’m a bit confused.

I checked: -

Employee and Department DocType → Setup Module → ERPNext App

So it seems HRMS is not installed.

In the top right Help button can you check About and see which apps are installed?

If you just need access to the above 2 doctypes then you just need to create extra shortcuts in the workspaces. Either add them to the current ones or create a new private/public one ( Workspace )