fix: grammatical fix on error message

Before:

Fiscal Year: 2020 does not exists

After:

Fiscal Year 2020 Does Not Exist
This commit is contained in:
Michelle Alva
2020-06-25 22:35:33 +05:30
committed by GitHub
parent 40847aeac3
commit 978722621f

View File

@@ -33,7 +33,7 @@ def validate_filters(filters):
frappe.throw(_("{0} is mandatory").format(f))
if not frappe.db.exists("Fiscal Year", filters.get("fiscal_year")):
frappe.throw(_("Fiscal Year: {0} does not exists").format(filters.get("fiscal_year")))
frappe.throw(_("Fiscal Year {0} Does Not Exist").format(filters.get("fiscal_year")))
if filters.get("based_on") == filters.get("group_by"):
frappe.throw(_("'Based On' and 'Group By' can not be same"))