fix: disabled items showing in the report 'Itemwise Recommended Reorder Level

'
This commit is contained in:
Rohit Waghchaure 2022-12-15 17:05:53 +05:30
parent 5ea6080a6e
commit ae31ff1c48

View File

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