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 420536c commit 132957f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/public/js/purchase_trends_filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 132957f

Please sign in to comment.