diff --git a/patches/july_2013/p04_merge_duplicate_leads.py b/patches/july_2013/p04_merge_duplicate_leads.py index d3a5d202039..5558addb25d 100644 --- a/patches/july_2013/p04_merge_duplicate_leads.py +++ b/patches/july_2013/p04_merge_duplicate_leads.py @@ -10,4 +10,4 @@ def execute(): if email not in email_lead: email_lead[email] = name else: - webnotes.rename("Lead", name, email_lead[email], merge=True) \ No newline at end of file + webnotes.rename_doc("Lead", name, email_lead[email], merge=True) \ No newline at end of file