mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-05 13:10:57 +00:00
Added location owner change test case to verify stock item owner in that location is also updated
This commit is contained in:
@ -1800,7 +1800,6 @@ class StockItemCreate(AjaxCreateView):
|
||||
if not stock_ownership_control:
|
||||
form.fields['owner'].widget = HiddenInput()
|
||||
else:
|
||||
print('> Stock ownership is enabled')
|
||||
try:
|
||||
location_owner = location.owner
|
||||
except AttributeError:
|
||||
|
Reference in New Issue
Block a user