[minor][fix] set default fiscal year for holiday list calendar view

This commit is contained in:
Saurabh 2015-10-19 19:19:50 +05:30
parent 28e3d63280
commit ba2133cba2

View File

@ -14,7 +14,8 @@ frappe.views.calendar["Holiday List"] = {
"fieldtype": "Link",
"fieldname": "fiscal_year",
"options": "Fiscal Year",
"label": __("Fiscal Year")
"label": __("Fiscal Year"),
"default": frappe.defaults.get_user_default("fiscal_year")
}
],
get_events_method: "erpnext.hr.doctype.holiday_list.holiday_list.get_events"