diff --git a/addons/mail/static/src/web/activity/activity_list_popover_item.js b/addons/mail/static/src/web/activity/activity_list_popover_item.js index 2e0b82c6757..53610458015 100644 --- a/addons/mail/static/src/web/activity/activity_list_popover_item.js +++ b/addons/mail/static/src/web/activity/activity_list_popover_item.js @@ -12,6 +12,7 @@ import { useAttachmentUploader } from "@mail/attachments/attachment_uploader_hoo import { Component, useState } from "@odoo/owl"; import { _t } from "@web/core/l10n/translation"; +import { url } from "@web/core/utils/urls"; /** * @typedef {Object} Props @@ -96,4 +97,12 @@ export class ActivityListPopoverItem extends Component { await this.env.services["mail.activity"].markAsDone(this.props.activity, [attachmentId]); this.props.onActivityChanged(); } + + get activityAssigneeAvatar() { + return url("/web/image", { + field: "avatar_128", + id: this.props.activity.user_id[0], + model: "res.users", + }); + } } diff --git a/addons/mail/static/src/web/activity/activity_list_popover_item.xml b/addons/mail/static/src/web/activity/activity_list_popover_item.xml index fc413ced635..834e724d2e8 100644 --- a/addons/mail/static/src/web/activity/activity_list_popover_item.xml +++ b/addons/mail/static/src/web/activity/activity_list_popover_item.xml @@ -26,13 +26,15 @@ -
- - - - - - - +
+ +
+ + + - + + +