Error fixed in bin

This commit is contained in:
Nabin Hait 2011-12-22 12:54:13 +05:30
parent b9e8a41cd2
commit 9e8249fea1

View File

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