[FIX] mail: use right chatter field for chatter prop value
task-2319706 closes odoo/odoo#56108 X-original-commit: 8955626b0f08be7364e715f0fdb91ef72a31f757 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
committed by
Alexandre Kühn
parent
dbe8bd5438
commit
36cf229dce
@@ -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];
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user