Update item.py
This commit is contained in:
parent
4f5839eb65
commit
1e5664ba5f
@ -529,7 +529,7 @@ class Item(WebsiteGenerator):
|
|||||||
if d.get("warehouse") and d.get("warehouse") not in warehouse:
|
if d.get("warehouse") and d.get("warehouse") not in warehouse:
|
||||||
warehouse += [d.get("warehouse")]
|
warehouse += [d.get("warehouse")]
|
||||||
else:
|
else:
|
||||||
frappe.throw(_("Row {0}: A Reorder entry already exists for this warehouse {1}")
|
frappe.throw(_("Row {0}: Reorder entry already exists for the warehouse {1}")
|
||||||
.format(d.idx, d.warehouse), DuplicateReorderRows)
|
.format(d.idx, d.warehouse), DuplicateReorderRows)
|
||||||
|
|
||||||
if d.warehouse_reorder_level and not d.warehouse_reorder_qty:
|
if d.warehouse_reorder_level and not d.warehouse_reorder_qty:
|
||||||
|
Loading…
Reference in New Issue
Block a user