commit | 95ca531def399cbb9261a8a7b6aa54e0608df79d | [log] [tgz] |
---|---|---|
author | Manas Solanki <manas@erpnext.com> | Wed Jun 14 16:13:23 2017 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Wed Jun 14 16:13:23 2017 +0530 |
tree | 96bfe4fec34976e04b40497e1412f7e0f4092da9 | |
parent | 847444724bbc64f13528648635ba07c50eadb2fc [diff] |
make quotation against lead company name (#9188)
diff --git a/erpnext/crm/doctype/lead/lead.py b/erpnext/crm/doctype/lead/lead.py index 256e3a8..a05bacd 100644 --- a/erpnext/crm/doctype/lead/lead.py +++ b/erpnext/crm/doctype/lead/lead.py
@@ -150,8 +150,7 @@ {"Lead": { "doctype": "Quotation", "field_map": { - "name": "lead", - "lead_name": "customer_name", + "name": "lead" } }}, target_doc) target_doc.quotation_to = "Lead"