Merge branch 'master' of github.com:webnotes/erpnext

This commit is contained in:
Nabin Hait 2013-01-25 15:05:07 +05:30
commit 54dc2995d5

View File

@ -139,7 +139,7 @@ def create_lead(email_id):
lead.fields["__islocal"] = 1
lead.lead_name = real_name or email_id
lead.email_id = email_id
lead.status = "Open"
lead.status = "Contacted"
lead.naming_series = lead_naming_series or get_lead_naming_series()
lead.company = webnotes.conn.get_default("company")
lead.source = "Email"