diff --git a/InvenTree/stock/models.py b/InvenTree/stock/models.py index e59af0e2e9..736e2218bf 100644 --- a/InvenTree/stock/models.py +++ b/InvenTree/stock/models.py @@ -140,6 +140,7 @@ class StockItem(MPTTModel): sales_order=None, build_order=None, belongs_to=None, + status__in=StockStatus.AVAILABLE_CODES ) def save(self, *args, **kwargs):