Skip to content

Commit

Permalink
fix: year_start_date in Employee Advance Summary (#2165)
Browse files Browse the repository at this point in the history
(cherry picked from commit 43f5f33)
  • Loading branch information
Nihantra-Patel authored and mergify[bot] committed Sep 16, 2024
1 parent 2395ee3 commit 140aaee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ frappe.query_reports["Employee Advance Summary"] = {
fieldname: "from_date",
label: __("From Date"),
fieldtype: "Date",
default: frappe.defaults.get_user_default("year_start_date"),
default: erpnext.utils.get_fiscal_year(frappe.datetime.get_today(), true)[1],
width: "80",
},
{
Expand Down

0 comments on commit 140aaee

Please sign in to comment.