From 3ea85a603e38bff89c542a9ea4c49043e2ac375e Mon Sep 17 00:00:00 2001 From: XavierDo Date: Tue, 26 Jun 2018 11:17:21 +0200 Subject: [PATCH] [FIX] mail: fix forwardport mistake A part of the code was unreachable after merging forwardport. Closes #25477 --- addons/mail/static/src/js/systray.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/static/src/js/systray.js b/addons/mail/static/src/js/systray.js index 30191cd3845..18e9511cf25 100644 --- a/addons/mail/static/src/js/systray.js +++ b/addons/mail/static/src/js/systray.js @@ -163,7 +163,7 @@ var MessagingMenu = Widget.extend({ views: [[false, 'form']], res_id: resID }); - } else if (resModel) { + } else if (resModel && resModel !== 'mail.channel' && !resID) { this.do_action({ name: "Mail failures", type: 'ir.actions.act_window',