fix: disable conversion to user tz for sales order calender

This commit is contained in:
ljain112
2024-11-19 12:38:34 +05:30
parent 495528a758
commit cdf098c193
2 changed files with 5 additions and 1 deletions

View File

@@ -1247,7 +1247,10 @@ def get_events(start, end, filters=None):
""",
{"start": start, "end": end},
as_dict=True,
update={"allDay": 0},
update={
"allDay": 0,
"convertToUserTz": 0,
},
)
return data

View File

@@ -8,6 +8,7 @@ frappe.views.calendar["Sales Order"] = {
id: "name",
title: "customer_name",
allDay: "allDay",
convertToUserTz: "convertToUserTz",
},
gantt: true,
filters: [