From da8da81b0abf25aa033966507a785420d0c615ab Mon Sep 17 00:00:00 2001 From: miggland Date: Tue, 24 Jan 2023 23:31:11 +0100 Subject: [PATCH] Update receive items help text to reflect reality (#4230) --- InvenTree/order/api.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/InvenTree/order/api.py b/InvenTree/order/api.py index ed22fb2754..f4c155e241 100644 --- a/InvenTree/order/api.py +++ b/InvenTree/order/api.py @@ -414,11 +414,14 @@ class PurchaseOrderReceive(PurchaseOrderContextMixin, CreateAPI): - The purchase order is specified in the URL. - Items to receive are specified as a list called "items" with the following options: + - line_item: pk of the PO Line item - supplier_part: pk value of the supplier part - quantity: quantity to receive - status: stock item status - location: destination for stock item (optional) - - A global location can also be specified + - batch_code: the batch code for this stock item + - serial_numbers: serial numbers for this stock item + - A global location must also be specified. This is used when no locations are specified for items, and no location is given in the PO line item """ queryset = models.PurchaseOrderLineItem.objects.none()