From 55d52b8b0b8df8b43baa96fe5e125bc8436930bd Mon Sep 17 00:00:00 2001 From: miguelpadin Date: Wed, 6 Oct 2021 09:03:37 +0200 Subject: [PATCH] [FIX] pms-api-rest: fix calendar filter gte->gt --- pms_api_rest/services/calendar_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pms_api_rest/services/calendar_service.py b/pms_api_rest/services/calendar_service.py index 096d34f70..a9b6fd611 100644 --- a/pms_api_rest/services/calendar_service.py +++ b/pms_api_rest/services/calendar_service.py @@ -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"]