[minor][fix] set default fiscal year for holiday list calendar view
This commit is contained in:
parent
28e3d63280
commit
ba2133cba2
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user