Skip to content

Instantly share code, notes, and snippets.

@alyjee
Last active July 11, 2019 12:29
Show Gist options
  • Save alyjee/5337e8e48df3fec5fbabb07201b959bf to your computer and use it in GitHub Desktop.
Save alyjee/5337e8e48df3fec5fbabb07201b959bf to your computer and use it in GitHub Desktop.
Issue Tracks in ERPNext
Issue#1
Freshly installed ERPNext, run following command
- bench --site [site name] set-limit users 2000
It will give you an error, in user.py line 315
system_manager = get_system_managers(only_name=True)[-1]
This list will get out of index if there's no system manager added, as on fresh
installation there's only Administrator and Guest user.
Although system will add the very first user as System Manager.
-- ----------------------------------------------------------
-- ----------------------------------------------------------
-- ----------------------------------------------------------
Issue#2
On creating a new user, all role-profiles/permissions are copied to new user (via GUI check-boxes).
Use case to re-create this Bug is:
Open a User Detail Screen in which user already have some roles assigned.
Then open Create New User Screen.
Hit Save, (You can’t assign any role on creating new user).
Expected Output:
A New User should be created with no roles assigned.
Actual Output:
A New User is created with all roles assigned which were assigned to the previously opened user.
-- ----------------------------------------------------------
-- ----------------------------------------------------------
-- ----------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment