diff --git a/erpnext/selling/doctype/customer/customer.py b/erpnext/selling/doctype/customer/customer.py index 35e0b0de40..5f2c264196 100644 --- a/erpnext/selling/doctype/customer/customer.py +++ b/erpnext/selling/doctype/customer/customer.py @@ -527,9 +527,9 @@ def check_credit_limit(customer, company, ignore_outstanding_sales_order=False, _("Please contact your administrator to extend the credit limits for {0}.").format(customer) ) - message = """Please contact any of the following users to extend the credit limits for {0}: -

""".format( - customer, "
  • ".join(credit_controller_users_formatted) + user_list = "

    ".format('
  • '.join(credit_controller_users_formatted)) + message = _("Please contact any of the following users to extend the credit limits for {0}: {1}").format( + customer, user_list ) # if the current user does not have permissions to override credit limit,