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', \