[communication] [minor]
This commit is contained in:
parent
0f2b684a45
commit
98429afe91
@ -51,7 +51,7 @@ erpnext.LeadController = wn.ui.form.Controller.extend({
|
|||||||
}
|
}
|
||||||
|
|
||||||
cur_frm.communication_view = new wn.views.CommunicationList({
|
cur_frm.communication_view = new wn.views.CommunicationList({
|
||||||
list: wn.model.get("Communication", {"lead": this.frm.doc.name}),
|
list: wn.model.get("Communication", {"parenttype": "Lead", "parent":this.frm.doc.name}),
|
||||||
parent: this.frm.fields_dict.communication_html.wrapper,
|
parent: this.frm.fields_dict.communication_html.wrapper,
|
||||||
doc: this.frm.doc,
|
doc: this.frm.doc,
|
||||||
recipients: this.frm.doc.email_id
|
recipients: this.frm.doc.email_id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user