[communications] [minor] Code cleanup so it can be extended by custom script

This commit is contained in:
Rushabh Mehta 2013-08-29 13:59:22 +05:30
parent 8808d607f1
commit fbd2ee096b

View file

@ -71,6 +71,8 @@ def make(doctype=None, name=None, content=None, subject=None,
d.communication_medium = communication_medium
if send_email:
send_comm_email(d, name, sent_via, print_html, attachments, send_me_a_copy)
comm.ignore_permissions = True
comm.insert()
@webnotes.whitelist()