From 4aa47dbf3a25e57cfec60c7ed41ea2618acfeffe Mon Sep 17 00:00:00 2001
From: Dhruv Patel
Date: Wed, 3 Feb 2021 06:59:31 +0000
Subject: [PATCH] [IMP] mail: mark first welcome message as read for the admin
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Actually, We don't want to distract the admin with an unnecessary notification
on General Channel. The main focus should be on odoobot's tour, not on the
general channel's welcome message. And it is also not a good idea to remove the
general channel as it would reduce the discoverability of the feature.
So, we are marking the first message as read for at least admin user.
therefore admin can not distract over unnecessary welcome notification and
focus more on the rest of the functionality.
Task : 2442023
closes odoo/odoo#66010
X-original-commit: 069923e53fcb93c4cf0a0715d500d23525aafbe7
Signed-off-by: Sébastien Theys (seb)
---
addons/mail/data/mail_channel_data.xml | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/addons/mail/data/mail_channel_data.xml b/addons/mail/data/mail_channel_data.xml
index 185e342ef58..e99f9761f4e 100644
--- a/addons/mail/data/mail_channel_data.xml
+++ b/addons/mail/data/mail_channel_data.xml
@@ -4,7 +4,6 @@
general
-
General announcements for all employees.
@@ -19,5 +18,16 @@
Welcome to the #general channel.
This channel is accessible to all users to easily share company information.
]]>
+
+
+
+
+
+
+
+
+
+
+