diff --git a/pms_api_rest/services/pms_amenity_service.py b/pms_api_rest/services/pms_amenity_service.py index a722c3b94..395100cf0 100644 --- a/pms_api_rest/services/pms_amenity_service.py +++ b/pms_api_rest/services/pms_amenity_service.py @@ -29,8 +29,6 @@ class PmsAmenityService(Component): domain = [("pms_amenity_type_id", "!=", False)] if amenities_search_param.name: domain.append(("name", "like", amenities_search_param.name)) - if amenities_search_param.id: - domain.append(("id", "=", amenities_search_param.id)) if amenities_search_param.pmsPropertyId: domain.extend( [ diff --git a/pms_api_rest/services/pms_amenity_type_service.py b/pms_api_rest/services/pms_amenity_type_service.py index 18a4323c9..cd9f7e0da 100644 --- a/pms_api_rest/services/pms_amenity_type_service.py +++ b/pms_api_rest/services/pms_amenity_type_service.py @@ -29,8 +29,6 @@ class PmsAmenityTypeService(Component): domain = [] if amenity_types_search_param.name: domain.append(("name", "like", amenity_types_search_param.name)) - if amenity_types_search_param.id: - domain.append(("id", "=", amenity_types_search_param.id)) if amenity_types_search_param.pmsPropertyId: domain.extend( [ diff --git a/pms_api_rest/services/pms_board_service_service.py b/pms_api_rest/services/pms_board_service_service.py index 9f261e0aa..ba66ec40c 100644 --- a/pms_api_rest/services/pms_board_service_service.py +++ b/pms_api_rest/services/pms_board_service_service.py @@ -29,8 +29,6 @@ class PmsBoardServiceService(Component): domain = [] if board_services_search_param.name: domain.append(("name", "like", board_services_search_param.name)) - if board_services_search_param.ids: - domain.append(("id", "in", board_services_search_param.ids)) if board_services_search_param.roomTypeId: domain.append( ("pms_room_type_id", "=", board_services_search_param.roomTypeId) diff --git a/pms_api_rest/services/pms_extra_beds_service.py b/pms_api_rest/services/pms_extra_beds_service.py index a5bfca432..f9ad83536 100644 --- a/pms_api_rest/services/pms_extra_beds_service.py +++ b/pms_api_rest/services/pms_extra_beds_service.py @@ -26,8 +26,6 @@ class PmsExtraBedsService(Component): domain = [("is_extra_bed", "=", True)] if extra_beds_search_param.name: domain.append(("name", "like", extra_beds_search_param.name)) - if extra_beds_search_param.id: - domain.append(("id", "=", extra_beds_search_param.id)) if extra_beds_search_param.pmsPropertyId: domain.extend( [ diff --git a/pms_api_rest/services/pms_product_service.py b/pms_api_rest/services/pms_product_service.py index d4ee08489..737218928 100644 --- a/pms_api_rest/services/pms_product_service.py +++ b/pms_api_rest/services/pms_product_service.py @@ -31,8 +31,6 @@ class PmsProductService(Component): domain = [("sale_ok", "=", True)] if product_search_param.name: domain.append(("name", "like", product_search_param.name)) - if product_search_param.ids: - domain.append(("id", "in", product_search_param.ids)) if product_search_param.pmsPropertyId: domain.extend( [ diff --git a/pms_api_rest/services/pms_reservation_line_service.py b/pms_api_rest/services/pms_reservation_line_service.py index 56c51e37f..22c2983ee 100644 --- a/pms_api_rest/services/pms_reservation_line_service.py +++ b/pms_api_rest/services/pms_reservation_line_service.py @@ -64,8 +64,6 @@ class PmsReservationLineService(Component): domain = [] if reservation_lines_search_param.date: domain.append(("date", "=", reservation_lines_search_param.date)) - if reservation_lines_search_param.id: - domain.append(("id", "=", reservation_lines_search_param.id)) if reservation_lines_search_param.reservationId: domain.append( ("reservation_id", "=", reservation_lines_search_param.reservationId) diff --git a/pms_api_rest/services/pms_room_service.py b/pms_api_rest/services/pms_room_service.py index 6d5e200c7..793a4bc45 100644 --- a/pms_api_rest/services/pms_room_service.py +++ b/pms_api_rest/services/pms_room_service.py @@ -31,8 +31,6 @@ class PmsRoomService(Component): domain = [] if room_search_param.name: domain.append(("name", "like", room_search_param.name)) - if room_search_param.id: - domain.append(("id", "=", room_search_param.id)) if room_search_param.pmsPropertyId: domain.append(("pms_property_id", "=", room_search_param.pmsPropertyId)) if (