From 6d604a151b1028bde21ee1c3bb974eab46e957b5 Mon Sep 17 00:00:00 2001 From: Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com> Date: Wed, 4 Mar 2020 11:55:10 +0530 Subject: [PATCH] fix: Validation message --- erpnext/selling/doctype/quotation/quotation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/selling/doctype/quotation/quotation.py b/erpnext/selling/doctype/quotation/quotation.py index 53e5d35db6..b79c91cef1 100644 --- a/erpnext/selling/doctype/quotation/quotation.py +++ b/erpnext/selling/doctype/quotation/quotation.py @@ -80,7 +80,7 @@ class Quotation(SellingController): if reason.get('lost_reason') in lost_reasons_lst: self.append('lost_reasons', reason) else: - frappe.throw(_("Invalid lost reason {0}, please create a new lost reason".format(frappe.bold(reason.get('lost_reason'))))) + frappe.throw(_("Invalid lost reason {0}, please create a new lost reason").format(frappe.bold(reason.get('lost_reason')))) self.update_opportunity() self.update_lead()