fix: correct placeholder index in message

(cherry picked from commit d61cb9a4bf)
This commit is contained in:
ljain112
2024-11-27 13:44:33 +05:30
committed by Mergify
parent fef7cfb888
commit d7e6b0e1b7

View File

@@ -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,
)