mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 21:49:18 +00:00
webnotes.model.doctype (new version)
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
|
||||
// Module CRM
|
||||
|
||||
wn.require("public/app/js/communication.js");
|
||||
wn.require('app/utilities/doctype/sms_control/sms_control.js');
|
||||
|
||||
cur_frm.cscript.onload = function(doc, cdt, cdn) {
|
||||
@@ -68,7 +67,7 @@ cur_frm.cscript.refresh = function(doc, cdt, cdn) {
|
||||
cur_frm.cscript.refresh_custom_buttons(doc);
|
||||
erpnext.hide_naming_series();
|
||||
|
||||
cur_frm.communication_view = new erpnext.CommunicationView({
|
||||
cur_frm.communication_view = new wn.views.CommunicationList({
|
||||
list: wn.model.get("Communication", {"lead": doc.name}),
|
||||
parent: cur_frm.fields_dict.communication_html.wrapper,
|
||||
doc: doc,
|
||||
|
||||
Reference in New Issue
Block a user