Merge pull request #18685 from marination/fixes_v12_hotfix

fix: Fixed error message in Payment Entry for outstanding invoices not found via filters
This commit is contained in:
Deepesh Garg 2019-08-10 17:27:45 +05:30 committed by GitHub
commit 7f0f0d0559
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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