mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] pms-pwa: fix calendar filter dates
This commit is contained in:
committed by
Darío Lodeiros
parent
55d52b8b0b
commit
1122c3093b
@@ -26,7 +26,7 @@ class PmsCalendarService(Component):
|
||||
)
|
||||
def get_calendar(self, calendar_search_param):
|
||||
domain = list()
|
||||
domain.append(("date", ">", datetime.fromisoformat(calendar_search_param.date_from)))
|
||||
domain.append(("date", ">=", datetime.fromisoformat(calendar_search_param.date_from)))
|
||||
domain.append(("date", "<=", datetime.fromisoformat(calendar_search_param.date_to)))
|
||||
result_lines = []
|
||||
PmsCalendarShortInfo = self.env.datamodels["pms.calendar.short.info"]
|
||||
|
||||
Reference in New Issue
Block a user