[quotation][improvement] when made from lead
This commit is contained in:
parent
8f97d2dab0
commit
596ff91b3a
@ -12,4 +12,7 @@ def execute():
|
||||
where quotation_to = 'Lead' and ifnull(lead, '') != '' and ifnull(lead_name, '') != ''""")
|
||||
|
||||
webnotes.conn.sql("""update `tabOpportunity` set contact_display = lead_name
|
||||
where enquiry_from = 'Lead' and ifnull(lead, '') != '' and ifnull(lead_name, '') != ''""")
|
||||
where enquiry_from = 'Lead' and ifnull(lead, '') != '' and ifnull(lead_name, '') != ''""")
|
||||
|
||||
webnotes.conn.sql("""update `tabOpportunity` opp, `tabLead` lead
|
||||
set opp.customer_name = lead.company_name where opp.lead = lead.name""")
|
Loading…
x
Reference in New Issue
Block a user