Go to the Custom DocPerm (to do this, open the doctype and search for Custom DocPerm, then open it). Export the Sales Manager role, update the new name, and import it. After that, check if it works.
You can’t simply duplicate the role because it’s set at the doctype level, and sometimes it’s not stored in Custom DocPerm. So, make sure to check it from your side.
@NCP the “Custom DocPerm” export is not copying all permissions.
For example, for “Accounts Manager” role it exports five roles only (shown in picture), whereas many roles are assigned when I checked in “Role Permissions Manager”
@NCP yes, i have the same problem, i need to add a new role and duplicate existing role permissions.
When data exporting “Custom DocPerm” , only the customized roles permissions are exported, not the default ones that were already in the system, but the un-exported part actually is the majority of the role permissions, and is the part I needed to duplicate.
Thanks!
Key