Update IN_STOCK_FILTER to reject stock items which have is_building set to True

This commit is contained in:
Oliver Walters committed 2020-10-05 00:14:04 +11:00
1 parent ee28b4eea5
commit 26d113e8ad
1 file changed
+1
+1
View File
@@ -143,6 +143,7 @@ class StockItem(MPTTModel):
build_order=None, build_order=None,
belongs_to=None, belongs_to=None,
customer=None, customer=None,
is_building=False,
status__in=StockStatus.AVAILABLE_CODES status__in=StockStatus.AVAILABLE_CODES
) )