Merge pull request #4197 from saurabh6790/fixes

[minor][fix] set default fiscal year for holiday list calendar view
This commit is contained in:
Anand Doshi 2015-10-20 11:40:00 +05:30
commit 84ca0197e4

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"