[minor] re-order at re-order level, not below
This commit is contained in:
parent
625592e997
commit
03b3d66b90
@ -29,7 +29,7 @@
|
||||
background-repeat: no-repeat;
|
||||
background-position: center top;
|
||||
border-radius: 0.5em;
|
||||
border: 1px solid #ebeff2;
|
||||
border: 1px solid #EBEFF2;
|
||||
}
|
||||
.product-image.missing-image {
|
||||
width: 100%;
|
||||
@ -39,7 +39,7 @@
|
||||
background-repeat: no-repeat;
|
||||
background-position: center top;
|
||||
border-radius: 0.5em;
|
||||
border: 1px solid #ebeff2;
|
||||
border: 1px solid #EBEFF2;
|
||||
border: 1px dashed #d1d8dd;
|
||||
position: relative;
|
||||
}
|
||||
|
@ -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…
x
Reference in New Issue
Block a user