fix in profile rename tool

This commit is contained in:
Anand Doshi 2012-06-07 17:23:13 +05:30
parent 8fcc655b44
commit 2d300df290

View file

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