fix: disabled items showing in the report 'Itemwise Recommended Reorder Level
'
(cherry picked from commit ae31ff1c48)
This commit is contained in:
committed by
Mergify
parent
beaf9558ef
commit
493509e42d
@@ -82,7 +82,7 @@ def get_item_info(filters):
|
||||
item.safety_stock,
|
||||
item.lead_time_days,
|
||||
)
|
||||
.where(item.is_stock_item == 1)
|
||||
.where((item.is_stock_item == 1) & (item.disabled == 0))
|
||||
)
|
||||
|
||||
if brand := filters.get("brand"):
|
||||
|
||||
Reference in New Issue
Block a user