mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 08:35:00 +00:00
[communication] [minor]
This commit is contained in:
@@ -51,7 +51,7 @@ erpnext.LeadController = wn.ui.form.Controller.extend({
|
||||
}
|
||||
|
||||
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,
|
||||
doc: this.frm.doc,
|
||||
recipients: this.frm.doc.email_id
|
||||
|
||||
Reference in New Issue
Block a user