diff --git a/addons/im_livechat/models/im_livechat_channel.py b/addons/im_livechat/models/im_livechat_channel.py index c4f66518c50..061b94fcc69 100644 --- a/addons/im_livechat/models/im_livechat_channel.py +++ b/addons/im_livechat/models/im_livechat_channel.py @@ -200,6 +200,10 @@ class ImLivechatChannel(models.Model): info['options']["default_username"] = username return info + # FIXME: to remove in master + @api.model + def match_rules(self, request, channel_id, username='Visitor'): + pass class ImLivechatChannelRule(models.Model): """ Channel Rules