From e6e456b3738a50e47fa862a621c41b0d11c38cb3 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 13 May 2015 17:21:44 +0530 Subject: [PATCH] message fixed --- erpnext/controllers/buying_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/controllers/buying_controller.py b/erpnext/controllers/buying_controller.py index 8fa8fa3ada6..d4e69cf46e9 100644 --- a/erpnext/controllers/buying_controller.py +++ b/erpnext/controllers/buying_controller.py @@ -281,5 +281,5 @@ class BuyingController(StockController): for d in self.get("items"): if d.meta.get_field("stock_qty") and not d.stock_qty: if not d.conversion_factor: - frappe.throw(_("Row {0}: Conversion Factor is mandatory")) + frappe.throw(_("Row {0}: Conversion Factor is mandatory").format(d.idx)) d.stock_qty = flt(d.qty) * flt(d.conversion_factor)