inventree / inventree-python

Python library for communication with inventree via API
https://docs.inventree.org/en/latest/api/python/python/
MIT License
26 stars 34 forks source link

Receive line items (Fix #82) #160

Closed miggland closed 1 year ago

miggland commented 1 year ago

This adds two methods, and tests, as described in #82

For receiving a single line item of a PO: PurchaseOrderLineItem.receive(... with the ability to give details (quantity, status, batch codes, serial numbers, etc)

PurchaseOrder.receiveAll(... The quick method, which can be run given only a location (limitation of the API, not the python binding), and sets all line items as received.

miggland commented 1 year ago

Great change

thanks :)