mirror of
https://github.com/inventree/InvenTree.git
synced 2025-09-13 14:11: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
|
||||
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."""
|
||||
|
||||
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
|
||||
- Adds "update_records" field to the DataImportSession API
|
||||
|
||||
|
@@ -492,6 +492,7 @@ class PurchaseOrderReceive(PurchaseOrderContextMixin, CreateAPI):
|
||||
|
||||
queryset = models.PurchaseOrderLineItem.objects.none()
|
||||
serializer_class = serializers.PurchaseOrderReceiveSerializer
|
||||
pagination_class = None
|
||||
|
||||
def create(self, request, *args, **kwargs):
|
||||
"""Override the create method to handle stock item creation."""
|
||||
|
Reference in New Issue
Block a user