Skip to content

Commit 303e8b4

Browse files
authored
Disable paging on purchaseOrderReceive API call (inventree#10213)
* Disable paging on purchaseOrderReceive api call * Bump api version
1 parent ac1662c commit 303e8b4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/backend/InvenTree/InvenTree/api_version.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
"""InvenTree API version information."""
22

33
# InvenTree API version
4-
INVENTREE_API_VERSION = 387
4+
INVENTREE_API_VERSION = 388
55

66
"""Increment this API version number whenever there is a significant change to the API that any clients need to know about."""
77

88
INVENTREE_API_TEXT = """
9+
v388 -> 2025-08-23 : https://github.com/inventree/InvenTree/pull/10213
10+
- Disable paging on PurchaseOrderReceive call
11+
912
v387 -> 2025-08-19 : https://github.com/inventree/InvenTree/pull/10188
1013
- Adds "update_records" field to the DataImportSession API
1114

src/backend/InvenTree/order/api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,7 @@ class PurchaseOrderReceive(PurchaseOrderContextMixin, CreateAPI):
492492

493493
queryset = models.PurchaseOrderLineItem.objects.none()
494494
serializer_class = serializers.PurchaseOrderReceiveSerializer
495+
pagination_class = None
495496

496497
def create(self, request, *args, **kwargs):
497498
"""Override the create method to handle stock item creation."""

0 commit comments

Comments
 (0)