diff --git a/crm/api/activities.py b/crm/api/activities.py index 9079d47f..ead84b1f 100644 --- a/crm/api/activities.py +++ b/crm/api/activities.py @@ -113,6 +113,7 @@ def get_deal_activities(name): for communication in docinfo.communications + docinfo.automated_messages: activity = { "activity_type": "communication", + "communication_type": communication.communication_type, "creation": communication.creation, "data": { "subject": communication.subject, @@ -225,6 +226,7 @@ def get_lead_activities(name): for communication in docinfo.communications + docinfo.automated_messages: activity = { "activity_type": "communication", + "communication_type": communication.communication_type, "creation": communication.creation, "data": { "subject": communication.subject, diff --git a/frontend/src/components/Activities.vue b/frontend/src/components/Activities.vue index a0e4f6e6..3d9e743f 100644 --- a/frontend/src/components/Activities.vue +++ b/frontend/src/components/Activities.vue @@ -386,6 +386,12 @@ {{ __(timeAgo(activity.creation)) }} +
@@ -834,6 +840,7 @@ import { Dropdown, TextEditor, Avatar, + Badge, createResource, call, } from 'frappe-ui'