Update supplier.js

Display Messages on the Communication History
This commit is contained in:
jorxzpagta 2014-11-12 17:02:06 +08:00
parent 6c5cfd2148
commit 6fe0a3cee3

View File

@ -22,10 +22,10 @@ cur_frm.cscript.refresh = function(doc, dt, dn) {
cur_frm.cscript.make_contact(doc,dt,dn);
cur_frm.communication_view = new frappe.views.CommunicationList({
list: frappe.get_list("Communication", {"supplier": doc.name}),
parent: cur_frm.fields_dict.communication_html.wrapper,
doc: doc
})
doc: doc,
recipients: doc.email_id
});
}
}