Skip to content

Commit

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

(cherry picked from commit 43f5f33)

Co-authored-by: Nihantra C. Patel <141945075+Nihantra-Patel@users.noreply.github.com>
  • Loading branch information
mergify[bot] and Nihantra-Patel committed Sep 16, 2024
1 parent 028b1e1 commit 94ca0c5
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 94ca0c5

Please sign in to comment.