mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-25 01:28:29 +00:00
fix: disable conversion to user tz for sales order calender
(cherry picked from commit cdf098c193)
This commit is contained in:
@@ -1230,7 +1230,10 @@ def get_events(start, end, filters=None):
|
|||||||
""",
|
""",
|
||||||
{"start": start, "end": end},
|
{"start": start, "end": end},
|
||||||
as_dict=True,
|
as_dict=True,
|
||||||
update={"allDay": 0},
|
update={
|
||||||
|
"allDay": 0,
|
||||||
|
"convertToUserTz": 0,
|
||||||
|
},
|
||||||
)
|
)
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ frappe.views.calendar["Sales Order"] = {
|
|||||||
id: "name",
|
id: "name",
|
||||||
title: "customer_name",
|
title: "customer_name",
|
||||||
allDay: "allDay",
|
allDay: "allDay",
|
||||||
|
convertToUserTz: "convertToUserTz",
|
||||||
},
|
},
|
||||||
gantt: true,
|
gantt: true,
|
||||||
filters: [
|
filters: [
|
||||||
|
|||||||
Reference in New Issue
Block a user