Browse Source

Merge pull request #4374 from rmehta/reorder-fix

[minor] re-order at re-order level, not below
develop
Anand Doshi 9 years ago
parent
commit
3314f1cba7
  1. 2
      erpnext/stock/reorder_item.py

2
erpnext/stock/reorder_item.py

@ -48,7 +48,7 @@ def _reorder_item():
# projected_qty will be 0 if Bin does not exist
projected_qty = flt(item_warehouse_projected_qty.get(item_code, {}).get(warehouse))
if reorder_level and projected_qty < reorder_level:
if reorder_level and projected_qty <= reorder_level:
deficiency = reorder_level - projected_qty
if deficiency > reorder_qty:
reorder_qty = deficiency

Loading…
Cancel
Save