fix: set today in 'On This Date' in Available Batch Report

(cherry picked from commit 9fd55e4c83)
This commit is contained in:
Nihantra C. Patel
2024-09-09 11:27:59 +05:30
committed by Mergify
parent c237f3c4c4
commit 36f65fc592

View File

@@ -17,7 +17,7 @@ frappe.query_reports["Available Batch Report"] = {
fieldtype: "Date",
width: "80",
reqd: 1,
default: frappe.datetime.add_months(frappe.datetime.get_today(), -1),
default: frappe.datetime.get_today(),
},
{
fieldname: "item_code",