Merge pull request #44234 from frappe/mergify/bp/version-14-hotfix/pr-44203

fix: disable conversion to user tz for sales order calender (backport #44203)
This commit is contained in:
ruthra kumar
2024-11-20 11:51:21 +05:30
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -918,7 +918,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: [