make quotation against lead company name (#9188)
This commit is contained in:
parent
c7cfa16f8c
commit
29ba4143f9
@ -150,8 +150,7 @@ def make_quotation(source_name, target_doc=None):
|
|||||||
{"Lead": {
|
{"Lead": {
|
||||||
"doctype": "Quotation",
|
"doctype": "Quotation",
|
||||||
"field_map": {
|
"field_map": {
|
||||||
"name": "lead",
|
"name": "lead"
|
||||||
"lead_name": "customer_name",
|
|
||||||
}
|
}
|
||||||
}}, target_doc)
|
}}, target_doc)
|
||||||
target_doc.quotation_to = "Lead"
|
target_doc.quotation_to = "Lead"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user