fix: create SO from Quot for Prospect --conflicts

This commit is contained in:
Nihantra C. Patel
2024-08-20 11:34:27 +05:30
committed by GitHub
parent 5d7fb1d945
commit ec0201cb85

View File

@@ -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):") + "<br>"
)
message = _("Could not auto create Customer due to the following missing mandatory field(s):") + "<br>"
message += "<br><ul><li>" + "</li><li>".join(mandatory_fields) + "</li></ul>"
message += _("Please create Customer from Lead {0}.").format(get_link_to_form("Lead", lead_name))