mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 18:21:22 +00:00
fixes in setup control and website contact helper
This commit is contained in:
@@ -236,7 +236,7 @@ class DocType:
|
||||
on duplicate key update `password`=password(%s)""",
|
||||
(user_email, pwd, pwd))
|
||||
|
||||
self.add_all_roles_to(pr.name)
|
||||
add_all_roles_to(pr.name)
|
||||
|
||||
def add_all_roles_to(name):
|
||||
profile = webnotes.doc("Profile", name)
|
||||
|
||||
Reference in New Issue
Block a user