fixes in setup control and website contact helper

This commit is contained in:
Anand Doshi
2013-01-21 19:02:58 +05:30
parent d707e2b6b6
commit fc36e57233
2 changed files with 3 additions and 3 deletions

View File

@@ -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)