[minor] clean up message if no Customer from Quotation > Sales Order, fixes #3854
This commit is contained in:
parent
47c2aa179b
commit
e1a1c8ac31
@ -155,6 +155,7 @@ def _make_customer(source_name, ignore_permissions=False):
|
||||
else:
|
||||
raise
|
||||
except frappe.MandatoryError:
|
||||
frappe.local.message_log = []
|
||||
frappe.throw(_("Please create Customer from Lead {0}").format(lead_name))
|
||||
else:
|
||||
return customer_name
|
||||
|
Loading…
Reference in New Issue
Block a user