2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-12-15 08:48:11 +00:00

Add functionality to return stock item from customer

This commit is contained in:
Oliver Walters
2020-08-08 09:05:33 +10:00
parent 7b332d93ee
commit bdea29df04
5 changed files with 75 additions and 2 deletions

View File

@@ -46,6 +46,18 @@ class AssignStockItemToCustomerForm(HelperForm):
]
class ReturnStockItemForm(HelperForm):
"""
Form for manually returning a StockItem into stock
"""
class Meta:
model = StockItem
fields = [
'location',
]
class EditStockItemTestResultForm(HelperForm):
"""
Form for creating / editing a StockItemTestResult object.