mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 19:49:18 +00:00
added unsubscribed fields in Lead and Contact and cleaned up sendmail function
This commit is contained in:
@@ -155,7 +155,6 @@ def sent_reminder_task():
|
||||
<p>If you have already completed this task, please update the system</p>
|
||||
<p>Good Luck!</p>
|
||||
<p>(This notification is autogenerated)</p>""" % i
|
||||
sendmail(i['allocated_to'], sender='automail@webnotestech.com', msg=msg2,send_now=1, \
|
||||
subject='A task has been assigned')
|
||||
sendmail(i['allocated_to'], msg=msg2, subject='A task has been assigned')
|
||||
sql("update `tabTask` set sent_reminder='1' where name='%(name)s' and allocated_to= '%(allocated_to)s'" % i)
|
||||
|
||||
|
||||
@@ -115,10 +115,7 @@ class DocType:
|
||||
<p><b>Expected End Date:</b> %(exp_end_date)s</p>
|
||||
<p><b>Details:</b> %(description)s</p>
|
||||
<p>(This notification is autogenerated)</p>""" % i
|
||||
sendmail(self.doc.allocated_to, sender='automail@webnotestech.com', msg=msg2,send_now=1,\
|
||||
subject= task_label + self.doc.subject)
|
||||
|
||||
|
||||
sendmail(self.doc.allocated_to, msg=msg2,subject= task_label + self.doc.subject)
|
||||
|
||||
#validate before closing task
|
||||
def validate_for_closed(self):
|
||||
|
||||
Reference in New Issue
Block a user