diff options
| -rw-r--r-- | addons/website_livechat/models/im_livechat_channel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_livechat/models/im_livechat_channel.py b/addons/website_livechat/models/im_livechat_channel.py index 3b805b80b7c..fe4b46b02a0 100644 --- a/addons/website_livechat/models/im_livechat_channel.py +++ b/addons/website_livechat/models/im_livechat_channel.py @@ -18,6 +18,6 @@ class ImLivechatChannel(models.Model): # TODO DBE : Move this into the proper method (open or init mail channel) chat_request_channel = self.env['mail.channel'].sudo().search([('livechat_visitor_id', '=', visitor_sudo.id), ('livechat_active', '=', True)]) for mail_channel in chat_request_channel: - mail_channel._close_livechat_session(cancel=True, speaking_with=operator.name) + mail_channel._close_livechat_session(cancel=True, operator=operator.name) return mail_channel_vals |
