Skip to content

Commit

Permalink
fix: year_start_date in Employee Advance Summary (backport #2165) (#2192
Browse files Browse the repository at this point in the history
)

(cherry picked from commit 43f5f33)

Co-authored-by: Nihantra C. Patel <[email protected]>
  • Loading branch information
mergify[bot] and Nihantra-Patel authored Sep 16, 2024
1 parent 967b4bd commit 51cb889
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 51cb889

Please sign in to comment.