Merge pull request #22463 from frappe/michellealva-fiscal_year
fix: grammatical fix on error message
This commit is contained in:
commit
5414e2c306
@ -33,7 +33,7 @@ def validate_filters(filters):
|
|||||||
frappe.throw(_("{0} is mandatory").format(f))
|
frappe.throw(_("{0} is mandatory").format(f))
|
||||||
|
|
||||||
if not frappe.db.exists("Fiscal Year", filters.get("fiscal_year")):
|
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"):
|
if filters.get("based_on") == filters.get("group_by"):
|
||||||
frappe.throw(_("'Based On' and 'Group By' can not be same"))
|
frappe.throw(_("'Based On' and 'Group By' can not be same"))
|
||||||
|
Loading…
Reference in New Issue
Block a user