App switcher 'Frappe HR' entry links to non-existent route /desk/people (404 in app)
Description
The app-switcher entry for Frappe HR (the icon shown when switching between installed Frappe apps, e.g. from Frappe CRM's app switcher) links to /desk/people, which does not resolve to a valid page in the Desk client — it renders as a "page not found" state.
Root cause (found by reading source)
In hrms/hooks.py:
app_home = "/desk/people"
add_to_apps_screen = [
{
"name": "hrms",
"logo": "/assets/hrms/images/frappe-hr-logo.svg",
"title": "Frappe HR",
"route": "/desk/people",
"has_permission": "hrms.hr.utils.check_app_permission",
}
]Both app_home and the add_to_apps_screen entry's route point to /desk/people. This path returns HTTP 200 (the Desk shell is served for any /desk/* path), but the Vue router does not resolve people to any actual page, so the client shows a "not found" state instead of a valid HR landing page.
Steps to reproduce
- Install
hrmsalongsideerpnext/crmon a fresh site (tested on frappe 16.34.0 + erpnext 16.35.0 + hrms 16.19.0 + crm 1.84.0). - Log in as a user with access to HR (tested with Administrator).
- Open the app switcher (e.g. from within Frappe CRM's "應用程式"/Apps menu, or any other installed app's switcher) and click the "Frappe HR" entry.
- Observe: the app navigates to
/desk/people, which shows an error/not-found state instead of a working HR landing page.
Expected behavior
The app switcher entry for HR should link to an actual valid landing route, e.g. /desk/hr-setup (the HR Setup workspace) or /desk/employee (Employee list), both of which work correctly.
Workaround
Navigate to HR via the Workspace sidebar ("HR Setup") or by directly opening a valid HR route (e.g. /desk/employee) instead of using the app switcher's "Frappe HR" entry.
Environment
- frappe: 16.34.0
- erpnext: 16.35.0
- hrms: 16.19.0
- crm: 1.84.0
- Deployed via official
frappe_docker, layered image, Docker on ARM64 (Apple Silicon)
Source: frappe/hrms