[minor] fixed patch

This commit is contained in:
Anand Doshi
2013-07-16 15:11:55 +05:30
parent abf2457889
commit 447068aefe

View File

@@ -10,4 +10,4 @@ def execute():
if email not in email_lead: if email not in email_lead:
email_lead[email] = name email_lead[email] = name
else: else:
webnotes.rename("Lead", name, email_lead[email], merge=True) webnotes.rename_doc("Lead", name, email_lead[email], merge=True)