From ec0201cb85f0c46a92993c6082b51507091dffd9 Mon Sep 17 00:00:00 2001 From: "Nihantra C. Patel" <141945075+Nihantra-Patel@users.noreply.github.com> Date: Tue, 20 Aug 2024 11:34:27 +0530 Subject: [PATCH] fix: create SO from Quot for Prospect --conflicts --- erpnext/selling/doctype/quotation/quotation.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/erpnext/selling/doctype/quotation/quotation.py b/erpnext/selling/doctype/quotation/quotation.py index bf2c166069f..2a4b04b9db5 100644 --- a/erpnext/selling/doctype/quotation/quotation.py +++ b/erpnext/selling/doctype/quotation/quotation.py @@ -565,9 +565,7 @@ def handle_mandatory_error(e, customer, lead_name): mandatory_fields = [customer.meta.get_label(field.strip()) for field in mandatory_fields] frappe.local.message_log = [] - message = ( - _("Could not auto create Customer due to the following missing mandatory field(s):") + "
" - ) + message = _("Could not auto create Customer due to the following missing mandatory field(s):") + "
" message += "
" message += _("Please create Customer from Lead {0}.").format(get_link_to_form("Lead", lead_name))