Use stock status for determining "in stock"
This commit is contained in:
parent
408c6a4040
commit
9f599546de
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue