From 458310053789e95b586adfa4aab3fc9435f554e2 Mon Sep 17 00:00:00 2001 From: marination Date: Fri, 9 Aug 2019 15:30:05 +0530 Subject: [PATCH] fix: Fixed error message in Payment Entry for outstanding invoices not found via filters --- erpnext/accounts/doctype/payment_entry/payment_entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/payment_entry/payment_entry.py b/erpnext/accounts/doctype/payment_entry/payment_entry.py index 368389807d..8c2ea73b56 100644 --- a/erpnext/accounts/doctype/payment_entry/payment_entry.py +++ b/erpnext/accounts/doctype/payment_entry/payment_entry.py @@ -624,7 +624,7 @@ def get_outstanding_reference_documents(args): data = negative_outstanding_invoices + outstanding_invoices + orders_to_be_billed if not data: - frappe.msgprint(_("No outstanding invoices found for the {0} {1}.") + frappe.msgprint(_("No outstanding invoices found for the {0} {1} which qualify the filters you have specified.") .format(args.get("party_type").lower(), args.get("party"))) return data