fix: set correct default value from from date in downtime analysis report (#22903)
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com>
This commit is contained in:
parent
bc8a281f83
commit
5c0439f768
@ -8,7 +8,7 @@ frappe.query_reports["Downtime Analysis"] = {
|
||||
label: __("From Date"),
|
||||
fieldname:"from_date",
|
||||
fieldtype: "Datetime",
|
||||
default: frappe.datetime.add_months(frappe.datetime.now_datetime(), -1),
|
||||
default: frappe.datetime.convert_to_system_tz(frappe.datetime.add_months(frappe.datetime.now_datetime(), -1)),
|
||||
reqd: 1
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user