Merge branch 'master' of github.com:webnotes/erpnext

This commit is contained in:
Anand Doshi
2012-09-24 14:32:01 +05:30
3 changed files with 170 additions and 1 deletions

View File

@@ -100,6 +100,7 @@ class DocType():
return self.message
def send(self, query_key, doctype):
webnotes.conn.auto_commit_on_many_writes = True
recipients = self.get_recipients(query_key)
sender = webnotes.utils.get_email_id(self.doc.owner)
args = self.dt_map[doctype]