From 1e5664ba5f35266d07510c10da896b8dfd6bd0ec Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 4 Apr 2019 11:39:55 +0530 Subject: [PATCH] Update item.py --- erpnext/stock/doctype/item/item.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/stock/doctype/item/item.py b/erpnext/stock/doctype/item/item.py index 3b405c9d2a..ca22aebf10 100644 --- a/erpnext/stock/doctype/item/item.py +++ b/erpnext/stock/doctype/item/item.py @@ -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}: 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) if d.warehouse_reorder_level and not d.warehouse_reorder_qty: @@ -1008,4 +1008,4 @@ def update_variants(variants, template, publish_progress=True): variant.save() count+=1 if publish_progress: - frappe.publish_progress(count*100/len(variants), title = _("Updating Variants...")) \ No newline at end of file + frappe.publish_progress(count*100/len(variants), title = _("Updating Variants..."))