updated recipients email in communication
This commit is contained in:
parent
d1b2afcd18
commit
9e12af4b7c
@ -71,7 +71,7 @@ cur_frm.cscript.refresh = function(doc, cdt, cdn) {
|
||||
list: wn.model.get("Communication", {"lead": doc.name}),
|
||||
parent: cur_frm.fields_dict.communication_html.wrapper,
|
||||
doc: doc,
|
||||
email: doc.email_id
|
||||
recipients: doc.email_id
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -51,7 +51,7 @@ cur_frm.cscript.onload = function(doc, cdt, cdn) {
|
||||
list: wn.model.get("Communication", {"opportunity": doc.name}),
|
||||
parent: cur_frm.fields_dict.communication_html.wrapper,
|
||||
doc: doc,
|
||||
email: doc.contact_email
|
||||
recipients: doc.contact_email
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -107,7 +107,7 @@ cur_frm.cscript.refresh = function(doc, cdt, cdn) {
|
||||
list: wn.model.get("Communication", {"quotation": doc.name}),
|
||||
parent: cur_frm.fields_dict.communication_html.wrapper,
|
||||
doc: doc,
|
||||
email: doc.contact_email
|
||||
recipients: doc.contact_email
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ def get_things_todo():
|
||||
incomplete_todos = webnotes.conn.sql("""\
|
||||
SELECT COUNT(*) FROM `tabToDo`
|
||||
WHERE IFNULL(checked, 0) = 0
|
||||
AND owner = %s""", webnotes.session.get('user'))
|
||||
AND (owner = %s or assigned_by=%s)""", (webnotes.session.user, webnotes.session.user))
|
||||
return incomplete_todos and cint(incomplete_todos[0][0]) or 0
|
||||
|
||||
def get_todays_events():
|
||||
|
@ -27,7 +27,7 @@ cur_frm.cscript.refresh = function() {
|
||||
list: wn.model.get("Communication", {"contact": doc.name}),
|
||||
parent: cur_frm.fields_dict.communication_html.wrapper,
|
||||
doc: doc,
|
||||
email: doc.email_id
|
||||
recipients: doc.email_id
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user