mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
fix: translation / linters
This commit is contained in:
@@ -527,11 +527,14 @@ def check_credit_limit(customer, company, ignore_outstanding_sales_order=False,
|
|||||||
_("Please contact your administrator to extend the credit limits for {0}.").format(customer)
|
_("Please contact your administrator to extend the credit limits for {0}.").format(customer)
|
||||||
)
|
)
|
||||||
|
|
||||||
user_list = "<br><br><ul><li>{0}</li></ul>".format('<li>'.join(credit_controller_users_formatted))
|
user_list = "<br><br><ul><li>{0}</li></ul>".format(
|
||||||
message = _("Please contact any of the following users to extend the credit limits for {0}: {1}").format(
|
"<li>".join(credit_controller_users_formatted)
|
||||||
customer, user_list
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
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,
|
# if the current user does not have permissions to override credit limit,
|
||||||
# prompt them to send out an email to the controller users
|
# prompt them to send out an email to the controller users
|
||||||
frappe.msgprint(
|
frappe.msgprint(
|
||||||
|
|||||||
Reference in New Issue
Block a user