From e621a6cce5f75b770c40a1dc6595e29ae74cd881 Mon Sep 17 00:00:00 2001 From: Florian da Costa Date: Wed, 16 Sep 2015 16:27:11 +0200 Subject: [PATCH] fix scheduler_error_mailer --- scheduler_error_mailer/ir_cron.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scheduler_error_mailer/ir_cron.py b/scheduler_error_mailer/ir_cron.py index 649c55e51..548728bf4 100644 --- a/scheduler_error_mailer/ir_cron.py +++ b/scheduler_error_mailer/ir_cron.py @@ -63,7 +63,7 @@ class ir_cron(orm.Model): context) self.pool['email.template'].send_mail( - cr, SUPERUSER_ID, my_cron.email_template.id, my_cron.id, + cr, SUPERUSER_ID, my_cron.email_template_id.id, my_cron.id, force_send=True, context=context) return res