diff --git a/addons/mail/static/src/js/basic_view.js b/addons/mail/static/src/js/basic_view.js index c8af4a75dd0..b6cdfa25370 100644 --- a/addons/mail/static/src/js/basic_view.js +++ b/addons/mail/static/src/js/basic_view.js @@ -17,7 +17,7 @@ BasicView.include({ hasRecordReloadOnAttachmentsChanged: post_refresh === 'always', hasRecordReloadOnMessagePosted: !!post_refresh, hasRecordReloadOnFollowersUpdate: !!followers_post_refresh, - isActivityBoxVisible: this._getFieldOption('message_ids', 'open_attachments', false) + isAttachmentBoxVisible: this._getFieldOption('message_ids', 'open_attachments', false) || this._getFieldOption('message_follower_ids', 'open_attachments', false), }; const fieldsInfo = this.fieldsInfo[this.viewType]; diff --git a/addons/mail/static/src/widgets/form_renderer/form_renderer.js b/addons/mail/static/src/widgets/form_renderer/form_renderer.js index 8e4ca059580..266d8c60f38 100644 --- a/addons/mail/static/src/widgets/form_renderer/form_renderer.js +++ b/addons/mail/static/src/widgets/form_renderer/form_renderer.js @@ -103,7 +103,7 @@ FormRenderer.include({ hasActivities: this.chatterFields.hasActivityIds, hasFollowers: this.chatterFields.hasMessageFollowerIds, hasThread: this.chatterFields.hasMessageIds, - isAttachmentBoxVisible: this.chatterFields.isActivityBoxVisible, + isAttachmentBoxVisible: this.chatterFields.isAttachmentBoxVisible, messageIds, threadAttachmentCount, threadId: this.state.res_id,