assign_to / messages public bug

This commit is contained in:
Rushabh Mehta
2012-12-11 16:28:33 +05:30
parent 38b6af97e5
commit 39b5b0653e
2 changed files with 2 additions and 1 deletions

View File

@@ -72,6 +72,7 @@ def post(arg=None):
arg.update(webnotes.form_dict)
from webnotes.model.doc import Document
d = Document('Comment')
d.parenttype = arg.get("parenttype")
d.comment = arg['txt']
d.comment_docname = arg['contact']
d.comment_doctype = 'Message'