Use stock status for determining "in stock"

This commit is contained in:
Oliver Walters 2020-06-05 09:08:46 +10:00
parent 408c6a4040
commit 9f599546de

View File

@ -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):