Newsletter allow delete

This commit is contained in:
Akhilesh Darjee 2014-02-03 13:40:27 +05:30
parent d6d2193f91
commit 53593c9c47
2 changed files with 3 additions and 3 deletions

View File

@ -91,7 +91,7 @@ class DocType():
if not webnotes.flags.in_test:
webnotes.conn.auto_commit_on_many_writes = True
send(recipients = self.recipients, sender = sender,
subject = self.doc.subject, message = self.doc.message,
doctype = self.send_to_doctype, email_field = "email_id",

View File

@ -2,7 +2,7 @@
{
"creation": "2013-01-10 16:34:31",
"docstatus": 0,
"modified": "2014-01-31 18:47:03",
"modified": "2014-02-03 11:32:22",
"modified_by": "Administrator",
"owner": "Administrator"
},
@ -27,7 +27,7 @@
{
"cancel": 0,
"create": 1,
"delete": 0,
"delete": 1,
"doctype": "DocPerm",
"email": 0,
"name": "__common__",