mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
Error fixed in bin
This commit is contained in:
@@ -349,7 +349,7 @@ class DocType:
|
|||||||
if(email_notify):
|
if(email_notify):
|
||||||
send_email_notification(doc_type,doc_name)
|
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') ")]
|
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())
|
msg1='An Indent has been raised for item %s: %s on %s '%(doc_type, doc_name, nowdate())
|
||||||
sendmail(email_list, sender='automail@webnotestech.com', \
|
sendmail(email_list, sender='automail@webnotestech.com', \
|
||||||
|
|||||||
Reference in New Issue
Block a user