[communications] [minor] Code cleanup so it can be extended by custom script
This commit is contained in:
parent
8808d607f1
commit
fbd2ee096b
1 changed files with 2 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue