mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-03 13:58:47 +00:00
Update IN_STOCK_FILTER to reject stock items which have is_building set to True
This commit is contained in:
parent
ee28b4eea5
commit
26d113e8ad
@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user