fix: communication missing from form timeline
This commit is contained in:
parent
da8c07d8fa
commit
2f239dbe4f
1 changed files with 2 additions and 2 deletions
|
|
@ -91,8 +91,8 @@ def get_docinfo(doc=None, doctype=None, name=None):
|
|||
raise frappe.PermissionError
|
||||
|
||||
all_communications = _get_communications(doc.doctype, doc.name)
|
||||
automated_messages = filter(lambda x: x['communication_type'] == 'Automated Message', all_communications)
|
||||
communications_except_auto_messages = filter(lambda x: x['communication_type'] != 'Automated Message', all_communications)
|
||||
automated_messages = [msg for msg in all_communications if msg['communication_type'] == 'Automated Message']
|
||||
communications_except_auto_messages = [msg for msg in all_communications if msg['communication_type'] != 'Automated Message']
|
||||
|
||||
docinfo = frappe._dict(user_info = {})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue