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:
@@ -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',
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user