diff --git a/InvenTree/common/models.py b/InvenTree/common/models.py index c334d0d49d..1e9c91ab68 100644 --- a/InvenTree/common/models.py +++ b/InvenTree/common/models.py @@ -189,7 +189,7 @@ class InvenTreeSetting(models.Model): 'validator': bool, }, - 'STOCK_OWNERSHIP_CONTROL': { + 'STOCK_OWNERSHIP_CONTROL': { 'name': _('Stock Ownership Control'), 'description': _('Enable ownership control over stock locations and items'), 'default': False, diff --git a/InvenTree/stock/test_views.py b/InvenTree/stock/test_views.py index 278a4ddf5d..bae6b9f748 100644 --- a/InvenTree/stock/test_views.py +++ b/InvenTree/stock/test_views.py @@ -10,7 +10,6 @@ from common.models import InvenTreeSetting import json from datetime import datetime, timedelta -from common.models import InvenTreeSetting from InvenTree.status_codes import StockStatus