[minor] fixed patch

This commit is contained in:
Anand Doshi 2013-07-16 15:22:55 +05:30
parent e47963305d
commit 17aa1337bc

View File

@ -47,4 +47,6 @@ def create_address_for(lead):
del lead["company_name"]
del lead["status"]
webnotes.bean(lead).insert()
lead_bean = webnotes.bean(lead)
lead_bean.ignore_mandatory = True
lead_bean.insert()