diff --git a/erpnext/selling/doctype/quotation/quotation.py b/erpnext/selling/doctype/quotation/quotation.py index b5520ff7fd..43dd675cd2 100644 --- a/erpnext/selling/doctype/quotation/quotation.py +++ b/erpnext/selling/doctype/quotation/quotation.py @@ -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