Skip to content

Commit

Permalink
fix: Set the default filter in All Trends Report
Browse files Browse the repository at this point in the history
  • Loading branch information
Nihantra-Patel authored Aug 31, 2023
1 parent 22247cf commit 420536c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/public/js/sales_trends_filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 420536c

Please sign in to comment.