Skip to content

Commit

Permalink
fix: create SO from Quot for Prospect --conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Nihantra-Patel authored Aug 20, 2024
1 parent 5d7fb1d commit ec0201c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions erpnext/selling/doctype/quotation/quotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit ec0201c

Please sign in to comment.