Fixes in Test Cases

This commit is contained in:
Anand Doshi
2014-02-11 14:40:21 +05:30
parent d7cc47e3ac
commit 93fdc670fe
6 changed files with 86 additions and 7 deletions

View File

@@ -44,6 +44,7 @@ class DocType():
webnotes.conn.set(self.doc, "email_sent", 1)
def get_recipients(self):
self.email_field = None
if self.doc.send_to_type=="Contact":
self.send_to_doctype = "Contact"
if self.doc.contact_type == "Customer":