Merge pull request #44380 from frappe/mergify/bp/version-14-hotfix/pr-44377
fix: correct placeholder index in message (backport #44377)
This commit is contained in:
@@ -1523,7 +1523,7 @@ class PaymentEntry(AccountsController):
|
||||
if paid_amount > total_negative_outstanding:
|
||||
if total_negative_outstanding == 0:
|
||||
frappe.msgprint(
|
||||
_("Cannot {0} from {2} without any negative outstanding invoice").format(
|
||||
_("Cannot {0} from {1} without any negative outstanding invoice").format(
|
||||
self.payment_type,
|
||||
self.party_type,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user