[minor] fixed patch
This commit is contained in:
parent
e47963305d
commit
17aa1337bc
@ -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()
|
Loading…
Reference in New Issue
Block a user