From 8fad8f7aa80b5347348bfc68ab1c4bbd84b2ce9e Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 26 Sep 2013 11:20:55 +0530 Subject: [PATCH] [minor] mandatory error msg fix --- webnotes/model/bean.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webnotes/model/bean.py b/webnotes/model/bean.py index 18f85596a2..e6c6c78960 100644 --- a/webnotes/model/bean.py +++ b/webnotes/model/bean.py @@ -404,7 +404,7 @@ class Bean: elif doc.fields.get(df.fieldname) is None: msg = _("Error") + ": " if doc.parentfield: - msg += _("Row") + (" # %d: " % doc.idx) + msg += _("Row") + (" # %s: " % (doc.idx,)) msg += _("Value missing for") + ": " + _(df.label)