fix: Set the default filter in All Trends Report

This commit is contained in:
Nihantra C. Patel
2023-08-31 13:37:30 +05:30
committed by GitHub
parent 22247cfa17
commit 420536ca52

View File

@@ -48,7 +48,7 @@ erpnext.get_sales_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":"company",