[FIX] mail: fix forwardport mistake

A part of the code was unreachable after merging forwardport.

Closes #25477
This commit is contained in:
XavierDo
2018-06-26 11:58:59 +02:00
parent 884fe14235
commit 3ea85a603e
+1 -1
View File
@@ -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',