From 9e8249fea14707b164c922070ecaa5dcdfa6a710 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 22 Dec 2011 12:54:13 +0530 Subject: [PATCH] Error fixed in bin --- 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 5e7f74667a2..881a176ceba 100644 --- a/erpnext/stock/doctype/bin/bin.py +++ b/erpnext/stock/doctype/bin/bin.py @@ -349,7 +349,7 @@ class DocType: if(email_notify): send_email_notification(doc_type,doc_name) - def send_email_notification(self,doc_type,doc_name) + def send_email_notification(self,doc_type,doc_name): email_list=[d for d in sql("select parent from tabUserRole where role in ('Purchase Manager','Material Manager') ")] msg1='An Indent has been raised for item %s: %s on %s '%(doc_type, doc_name, nowdate()) sendmail(email_list, sender='automail@webnotestech.com', \