Update supplier.js
Display Messages on the Communication History
This commit is contained in:
parent
6c5cfd2148
commit
6fe0a3cee3
@ -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
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user