diff options
Diffstat (limited to 'addons/im_livechat/models/mail_channel.py')
| -rw-r--r-- | addons/im_livechat/models/mail_channel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/im_livechat/models/mail_channel.py b/addons/im_livechat/models/mail_channel.py index 38ee150bb00..dae1d70cb81 100644 --- a/addons/im_livechat/models/mail_channel.py +++ b/addons/im_livechat/models/mail_channel.py @@ -184,7 +184,7 @@ class MailChannel(models.Model): "channel": self, } template = self.env.ref('im_livechat.livechat_email_template') - mail_body = template.render(render_context, engine='ir.qweb', minimal_qcontext=True) + mail_body = template._render(render_context, engine='ir.qweb', minimal_qcontext=True) mail_body = self.env['mail.render.mixin']._replace_local_links(mail_body) mail = self.env['mail.mail'].sudo().create({ 'subject': _('Conversation with %s') % self.livechat_operator_id.name, |
