summaryrefslogtreecommitdiff
path: root/addons/website_mail_channel/controllers/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website_mail_channel/controllers/main.py')
-rw-r--r--addons/website_mail_channel/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_mail_channel/controllers/main.py b/addons/website_mail_channel/controllers/main.py
index 6661ecd14b1..01d55c7b75a 100644
--- a/addons/website_mail_channel/controllers/main.py
+++ b/addons/website_mail_channel/controllers/main.py
@@ -117,7 +117,7 @@ class MailGroup(http.Controller):
cr, uid, context = request.cr, request.uid, request.context
thread_obj = request.registry.get('mail.message')
- domain = [('model', '=', 'mail.channel'), ('res_id', '=', group.id)]
+ domain = [('model', '=', 'mail.channel'), ('res_id', '=', group.id), ('message_type', '!=', 'notification')]
if mode == 'thread':
domain += [('parent_id', '=', False)]
if date_begin and date_end: