[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",
|
"fieldtype": "Link",
|
||||||
"fieldname": "fiscal_year",
|
"fieldname": "fiscal_year",
|
||||||
"options": "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"
|
get_events_method: "erpnext.hr.doctype.holiday_list.holiday_list.get_events"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user