2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-09-13 22:21:37 +00:00

Disable paging on purchaseOrderReceive API call (#10213)

* Disable paging on purchaseOrderReceive api call

* Bump api version
This commit is contained in:
Joe Rogers
2025-08-24 04:58:26 +02:00
committed by GitHub
parent ac1662c5a0
commit 303e8b46e7
2 changed files with 5 additions and 1 deletions

View File

@@ -1,11 +1,14 @@
"""InvenTree API version information.""" """InvenTree API version information."""
# InvenTree API version # InvenTree API version
INVENTREE_API_VERSION = 387 INVENTREE_API_VERSION = 388
"""Increment this API version number whenever there is a significant change to the API that any clients need to know about.""" """Increment this API version number whenever there is a significant change to the API that any clients need to know about."""
INVENTREE_API_TEXT = """ INVENTREE_API_TEXT = """
v388 -> 2025-08-23 : https://github.com/inventree/InvenTree/pull/10213
- Disable paging on PurchaseOrderReceive call
v387 -> 2025-08-19 : https://github.com/inventree/InvenTree/pull/10188 v387 -> 2025-08-19 : https://github.com/inventree/InvenTree/pull/10188
- Adds "update_records" field to the DataImportSession API - Adds "update_records" field to the DataImportSession API

View File

@@ -492,6 +492,7 @@ class PurchaseOrderReceive(PurchaseOrderContextMixin, CreateAPI):
queryset = models.PurchaseOrderLineItem.objects.none() queryset = models.PurchaseOrderLineItem.objects.none()
serializer_class = serializers.PurchaseOrderReceiveSerializer serializer_class = serializers.PurchaseOrderReceiveSerializer
pagination_class = None
def create(self, request, *args, **kwargs): def create(self, request, *args, **kwargs):
"""Override the create method to handle stock item creation.""" """Override the create method to handle stock item creation."""