minor fixes

This commit is contained in:
Rushabh Mehta 2013-01-25 14:47:17 +05:30
parent bf8c5033fe
commit 6bc39bab52

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"