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