Merge pull request #33227 from barredterra/add-translation-variable-order

fix: add translation variable index
This commit is contained in:
Deepesh Garg
2022-12-08 15:17:07 +05:30
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -349,7 +349,7 @@ class StatusUpdater(Document):
def warn_about_bypassing_with_role(self, item, qty_or_amount, role):
action = _("Over Receipt/Delivery") if qty_or_amount == "qty" else _("Overbilling")
msg = _("{} of {} {} ignored for item {} because you have {} role.").format(
msg = _("{0} of {1} {2} ignored for item {3} because you have {4} role.").format(
action,
_(item["target_ref_field"].title()),
frappe.bold(item["reduce_by"]),