mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-20 07:22:13 +00:00
fix: create SO from Quot for Prospect --conflicts
This commit is contained in:
committed by
GitHub
parent
5d7fb1d945
commit
ec0201cb85
@@ -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]
|
mandatory_fields = [customer.meta.get_label(field.strip()) for field in mandatory_fields]
|
||||||
|
|
||||||
frappe.local.message_log = []
|
frappe.local.message_log = []
|
||||||
message = (
|
message = _("Could not auto create Customer due to the following missing mandatory field(s):") + "<br>"
|
||||||
_("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 += "<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))
|
message += _("Please create Customer from Lead {0}.").format(get_link_to_form("Lead", lead_name))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user