Skip to content

Commit

Permalink
Merge pull request #33355 from rohitwaghchaure/fixed-do-not-show-disa…
Browse files Browse the repository at this point in the history
…bled-items

fix: disabled items showing in the report Itemwise Recommended Reorder Level
  • Loading branch information
rohitwaghchaure committed Dec 15, 2022
2 parents 5cbbb5d + ae31ff1 commit da1d8da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down

0 comments on commit da1d8da

Please sign in to comment.