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

Add functions for assigning stock items to a customer #152

Closed miggland closed 1 year ago

miggland commented 1 year ago

Use /api/stock/assign/ endpoint.

Relies on existing functions as much as possible.

SchrodingersGat commented 1 year ago

@miggland nice addition :) Can you add a unit test for the new feature please?

SchrodingersGat commented 1 year ago

@miggland looks like some unit test and style issues to address :)

miggland commented 1 year ago

I'm working on it - but having trouble finding a stock item which can even be assigned to the customer! ;)

SchrodingersGat commented 1 year ago

Nice work, thanks :)