added products + cleanups

This commit is contained in:
Rushabh Mehta
2012-01-30 14:00:46 +05:30
parent 3a751e8f82
commit d6840b202a
26 changed files with 395 additions and 331 deletions

View File

@@ -65,6 +65,8 @@ class DocType(TransactionBase):
d = Document('Support Ticket Response')
d.from_email = from_email or webnotes.user.name
d.parent = self.doc.name
d.parenttype = "Support Ticket"
d.parentfield = "responses"
d.mail = response
d.content_type = content_type
d.save(1)