From 6c1773025b4e93d71d3a090e73ba8861001474e0 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 7 Jan 2015 11:33:14 +0530 Subject: [PATCH] fiscal year error message --- erpnext/accounts/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py index c658cdd09f..0a05275bca 100644 --- a/erpnext/accounts/utils.py +++ b/erpnext/accounts/utils.py @@ -28,7 +28,7 @@ def get_fiscal_years(date=None, fiscal_year=None, label="Date", verbose=1): from `tabFiscal Year` where %s order by year_start_date desc""" % cond) if not fy: - error_msg = _("""{0} {1} not in any Fiscal Year""").format(label, formatdate(date)) + error_msg = _("""{0} {1} not in any Fiscal Year. For more details check {2}.""").format(label, formatdate(date), "https://erpnext.com/kb/accounts/fiscal-year-error") if verbose: frappe.msgprint(error_msg) raise FiscalYearError, error_msg