fixed spelling in validation message

fixed typo in auto-reorder validation message
This commit is contained in:
Kenneth Sequeira 2019-03-30 15:18:48 +05:30
parent 5fdbdd50f9
commit 4f5839eb65

View File

@ -529,7 +529,7 @@ class Item(WebsiteGenerator):
if d.get("warehouse") and d.get("warehouse") not in warehouse:
warehouse += [d.get("warehouse")]
else:
frappe.throw(_("Row {0}: An Reorder entry already exists for this warehouse {1}")
frappe.throw(_("Row {0}: A Reorder entry already exists for this warehouse {1}")
.format(d.idx, d.warehouse), DuplicateReorderRows)
if d.warehouse_reorder_level and not d.warehouse_reorder_qty: