commit | 17aa1337bc762912db6a53d83ad3b91b5a850e6d | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@erpnext.com> | Tue Jul 16 15:22:55 2013 +0530 |
committer | Anand Doshi <anand@erpnext.com> | Tue Jul 16 15:22:55 2013 +0530 |
tree | 13d08ee1f5a2a979228f6aad29cf96d7086aecd8 | |
parent | e47963305df0f722a3378ffba4484bc36ffdef3c [diff] |
[minor] fixed patch
diff --git a/patches/june_2013/p10_lead_address.py b/patches/june_2013/p10_lead_address.py index 516e2a6..f7b4a8e 100644 --- a/patches/june_2013/p10_lead_address.py +++ b/patches/june_2013/p10_lead_address.py
@@ -47,4 +47,6 @@ del lead["company_name"] del lead["status"] - webnotes.bean(lead).insert() \ No newline at end of file + lead_bean = webnotes.bean(lead) + lead_bean.ignore_mandatory = True + lead_bean.insert() \ No newline at end of file