From 96075828817607e586759950a8665fbd35490691 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 5 Feb 2013 11:39:49 +0530 Subject: [PATCH] currency fix --- accounts/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts/utils.py b/accounts/utils.py index effc906c16..e4d967cf50 100644 --- a/accounts/utils.py +++ b/accounts/utils.py @@ -42,7 +42,7 @@ def get_fiscal_year(date, verbose=1): def validate_fiscal_year(date, fiscal_year, label="Date"): if get_fiscal_year(date)[0] != fiscal_year: - msgprint(("%(label)s '%(posting_date)s': " + _("not within Fiscal Year") + \ + webnotes.msgprint(("%(label)s '%(posting_date)s': " + _("not within Fiscal Year") + \ ": '%(fiscal_year)s'") % { "label": label, "posting_date": formatdate(date),