fix: Fixed error message in Payment Entry for outstanding invoices not found via filters

This commit is contained in:
marination 2019-08-09 15:30:05 +05:30
parent e4abaa7cdd
commit 4583100537

View File

@ -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} <b>{1}</b>.")
frappe.msgprint(_("No outstanding invoices found for the {0} <b>{1}</b> which qualify the filters you have specified.")
.format(args.get("party_type").lower(), args.get("party")))
return data