From 36cf229dce44f1a32d2c452aefbda120375d342f Mon Sep 17 00:00:00 2001 From: Xavier Dubuc Date: Tue, 18 Aug 2020 14:09:07 +0000 Subject: [FIX] mail: use right chatter field for chatter prop value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit task-2319706 closes odoo/odoo#56108 X-original-commit: 8955626b0f08be7364e715f0fdb91ef72a31f757 Signed-off-by: Alexandre Kühn (aku) --- addons/mail/static/src/js/basic_view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/mail/static/src/js/basic_view.js') 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]; -- cgit v1.2.3