diff --git a/pms_api_rest/services/pms_product_service.py b/pms_api_rest/services/pms_product_service.py index c550c799c..7395165ec 100644 --- a/pms_api_rest/services/pms_product_service.py +++ b/pms_api_rest/services/pms_product_service.py @@ -28,7 +28,7 @@ class PmsProductService(Component): def get_products(self, product_search_param): domain = [("sale_ok", "=", True), ("is_pms_available", "=", True)] if product_search_param.name: - domain.append(("name", "like", product_search_param.name)) + domain.append(("name", "ilike", product_search_param.name)) if product_search_param.pmsPropertyId: domain.extend( [ diff --git a/pms_api_rest/services/pms_reservation_service.py b/pms_api_rest/services/pms_reservation_service.py index cd7468545..12c12812d 100644 --- a/pms_api_rest/services/pms_reservation_service.py +++ b/pms_api_rest/services/pms_reservation_service.py @@ -601,7 +601,6 @@ class PmsReservationService(Component): checkinPartnerState=checkin_partner.state, ) ) - print(checkin_partners) return checkin_partners @restapi.method(