fix(lead): Map lead name to quotation party_name

This commit is contained in:
Aditya Hase
2019-05-12 16:20:31 +05:30
parent ab7570b7e5
commit e23cfd22ca

View File

@@ -163,7 +163,7 @@ def make_quotation(source_name, target_doc=None):
{"Lead": {
"doctype": "Quotation",
"field_map": {
"name": "lead"
"name": "party_name"
}
}}, target_doc)
target_doc.quotation_to = "Lead"