diff --git a/addons/mail/static/src/js/thread.js b/addons/mail/static/src/js/thread.js index b35445e8d3f0695b319e2cc429b9891d8b1b9258..99b4d6ba1c2fe3b77608210e98f1f2aff8b92020 100644 --- a/addons/mail/static/src/js/thread.js +++ b/addons/mail/static/src/js/thread.js @@ -90,7 +90,7 @@ var Thread = Widget.extend({ if (id) { event.preventDefault(); var model = $(event.target).data('oe-model'); - var options = model ? {model: model, id: id} : {channel_id: id}; + var options = model && (model !== 'mail.channel') ? {model: model, id: id} : {channel_id: id}; this._redirect(options); } },