fix in profile rename tool
This commit is contained in:
parent
8fcc655b44
commit
2d300df290
1 changed files with 4 additions and 1 deletions
|
|
@ -72,4 +72,7 @@ class DocType:
|
|||
webnotes.conn.sql("""\
|
||||
update `%s` set `%s`=%s
|
||||
where `%s`=%s""" % \
|
||||
(tab[0], field, '%s', field, '%s'), (newdn, olddn))
|
||||
(tab[0], field, '%s', field, '%s'), (newdn, olddn))
|
||||
webnotes.conn.sql("""\
|
||||
update `tabProfile` set email=%s
|
||||
where name=%s""", (newdn, newdn))
|
||||
Loading…
Add table
Reference in a new issue