From e1a1c8ac31bf78d1874a0d19b06ae6bc6633b0e1 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 25 Jan 2016 13:08:21 +0530 Subject: [PATCH] [minor] clean up message if no Customer from Quotation > Sales Order, fixes #3854 --- erpnext/selling/doctype/quotation/quotation.py | 1 + 1 file changed, 1 insertion(+) 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