From 00c2f50019e06df15e5d048403a6e6c9590dcdad Mon Sep 17 00:00:00 2001 From: "Didier (did)" Date: Wed, 18 Oct 2023 11:34:45 +0200 Subject: [PATCH] [FIX] mail: add missing inverse on channel member thread MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit task-3546165 closes odoo/odoo#139017 Signed-off-by: Alexandre Kühn (aku) --- addons/mail/static/src/core/common/channel_member_model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/static/src/core/common/channel_member_model.js b/addons/mail/static/src/core/common/channel_member_model.js index 3266988be77..cccf63fffaf 100644 --- a/addons/mail/static/src/core/common/channel_member_model.js +++ b/addons/mail/static/src/core/common/channel_member_model.js @@ -26,7 +26,7 @@ export class ChannelMember extends Record { id; persona = Record.one("Persona", { inverse: "channelMembers" }); rtcSession = Record.one("RtcSession"); - thread = Record.one("Thread"); + thread = Record.one("Thread", { inverse: "channelMembers" }); /** * @returns {string}