diff --git a/erpnext/selling/doctype/quotation/quotation.py b/erpnext/selling/doctype/quotation/quotation.py index bf2c166069f1..2a4b04b9db53 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))