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

Added owner field to both stock item and location tables and forms

This commit is contained in:
eeintech
2020-12-01 13:45:01 -05:00
parent 9dae7c1566
commit e1fb7e5d98
3 changed files with 38 additions and 2 deletions

View File

@@ -89,7 +89,8 @@ class EditStockLocationForm(HelperForm):
fields = [
'name',
'parent',
'description'
'description',
'owner',
]
@@ -132,6 +133,7 @@ class CreateStockItemForm(HelperForm):
'link',
'delete_on_deplete',
'status',
'owner',
]
# Custom clean to prevent complex StockItem.clean() logic from running (yet)
@@ -403,6 +405,7 @@ class EditStockItemForm(HelperForm):
'purchase_price',
'link',
'delete_on_deplete',
'owner',
]