mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
currency fix
This commit is contained in:
@@ -42,7 +42,7 @@ def get_fiscal_year(date, verbose=1):
|
|||||||
|
|
||||||
def validate_fiscal_year(date, fiscal_year, label="Date"):
|
def validate_fiscal_year(date, fiscal_year, label="Date"):
|
||||||
if get_fiscal_year(date)[0] != fiscal_year:
|
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'") % {
|
": '%(fiscal_year)s'") % {
|
||||||
"label": label,
|
"label": label,
|
||||||
"posting_date": formatdate(date),
|
"posting_date": formatdate(date),
|
||||||
|
|||||||
Reference in New Issue
Block a user