diff --git a/addons/im_livechat/models/mail_channel.py b/addons/im_livechat/models/mail_channel.py index 8fb014f0b8f..b90f9e2e532 100644 --- a/addons/im_livechat/models/mail_channel.py +++ b/addons/im_livechat/models/mail_channel.py @@ -76,3 +76,9 @@ class MailChannel(models.Model): < ((now() at time zone 'UTC') - interval %s)""", ("%s hours" % hours,)) empty_channel_ids = [item['id'] for item in self.env.cr.dictfetchall()] self.browse(empty_channel_ids).unlink() + + @api.model + def get_empty_list_help(self, help): + if help: + return '
%s
' % (help) + return super(MailChannel, self).get_empty_list_help(help) diff --git a/addons/im_livechat/views/mail_channel_views.xml b/addons/im_livechat/views/mail_channel_views.xml index aa881ef0761..edc085c80c8 100644 --- a/addons/im_livechat/views/mail_channel_views.xml +++ b/addons/im_livechat/views/mail_channel_views.xml @@ -84,6 +84,11 @@+ Your chatter history is empty. Create a channel and start chatting to fill up your history. +
+