From 9ad9b388c3ca683f8bd9fcc4681a76ea4c3e038c Mon Sep 17 00:00:00 2001 From: Yusuf Kapasi Date: Fri, 22 Jun 2018 11:33:22 +0530 Subject: [PATCH] [FIX] channel issues --- addons/sale/controllers/mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale/controllers/mail.py b/addons/sale/controllers/mail.py index 804fad05..a2eabcf6 100644 --- a/addons/sale/controllers/mail.py +++ b/addons/sale/controllers/mail.py @@ -27,4 +27,4 @@ class MailController(MailController): force_website=True).get_access_action(uid) if record_action['type'] == 'ir.actions.act_url': return werkzeug.utils.redirect(record_action['url']) - return super(MailController, cls)._redirect_to_record(model, res_id, access_token=access_token) + return super(MailController, cls)._redirect_to_record(cls, model, res_id, access_token=access_token)