fix: translated message for credit limit blocking

This commit is contained in:
hrzzz 2022-06-30 16:14:51 -03:00
parent 7a02dfe09a
commit fbb71a2611

View File

@ -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) _("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}: user_list = "<br><br><ul><li>{0}</li></ul>".format('<li>'.join(credit_controller_users_formatted))
<br><br><ul><li>{1}</li></ul>""".format( message = _("Please contact any of the following users to extend the credit limits for {0}: {1}").format(
customer, "<li>".join(credit_controller_users_formatted) 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,