fix: Set the default filter in All Trends Report
This commit is contained in:
committed by
GitHub
parent
420536ca52
commit
132957f59e
@@ -28,7 +28,7 @@ erpnext.get_purchase_trends_filters = function() {
|
||||
"label": __("Fiscal Year"),
|
||||
"fieldtype": "Link",
|
||||
"options":'Fiscal Year',
|
||||
"default": frappe.sys_defaults.fiscal_year
|
||||
"default": erpnext.utils.get_fiscal_year(frappe.datetime.get_today())
|
||||
},
|
||||
{
|
||||
"fieldname":"period_based_on",
|
||||
|
||||
Reference in New Issue
Block a user