Added validation for fiscal year

This commit is contained in:
Rohit Waghchaure
2016-08-21 17:14:12 +05:30
parent 4275c30059
commit 26b646f8a3
2 changed files with 13 additions and 7 deletions

View File

@@ -70,7 +70,7 @@ function get_filters(){
},
{
"fieldname":"from_fiscal_year",
"label": __("Fiscal Year"),
"label": __("Start Year"),
"fieldtype": "Link",
"options": "Fiscal Year",
"default": frappe.defaults.get_user_default("fiscal_year"),
@@ -78,7 +78,7 @@ function get_filters(){
},
{
"fieldname":"to_fiscal_year",
"label": __("Fiscal Year"),
"label": __("End Year"),
"fieldtype": "Link",
"options": "Fiscal Year",
"default": frappe.defaults.get_user_default("fiscal_year"),