From 9b0178acaecb416b89b7d2ec6fb538839965f06a Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 12 Jun 2012 14:16:21 +0530 Subject: [PATCH] error fixed in reorder item email notification --- erpnext/stock/doctype/bin/bin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/doctype/bin/bin.py b/erpnext/stock/doctype/bin/bin.py index 5a0300823b..22ce431e16 100644 --- a/erpnext/stock/doctype/bin/bin.py +++ b/erpnext/stock/doctype/bin/bin.py @@ -376,7 +376,7 @@ class DocType: indent_obj.on_submit() msgprint("Item: " + self.doc.item_code + " is to be re-ordered. Purchase Request %s raised. It was generated from %s %s"%(indent.name,doc_type, doc_name )) if(i['email_notify']): - send_email_notification(doc_type,doc_name) + self.send_email_notification(doc_type,doc_name)