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:
@@ -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
|
||||||
|
|
||||||
|
@@ -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."""
|
||||||
|
Reference in New Issue
Block a user