[communication] [minor]

This commit is contained in:
Rushabh Mehta
2013-09-02 18:27:29 +05:30
parent 1f16630360
commit a2d0da8840
4 changed files with 93 additions and 9 deletions

View File

@@ -16,7 +16,7 @@ cur_frm.cscript = {
},
make_listing: function(doc) {
cur_frm.communication_view = new wn.views.CommunicationList({
list: wn.model.get("Communication", {"job_applicant": doc.name}),
list: wn.model.get("Communication", {"parent": doc.name, "parenttype": "Job Applicant"}),
parent: cur_frm.fields_dict['thread_html'].wrapper,
doc: doc,
recipients: doc.email_id