Browse Source

Merge pull request #252 from florian-dacosta/8.0-fix-scheduler_error_mailer

fix scheduler_error_mailer
pull/256/head
Moises Lopez - https://www.vauxoo.com/ 9 years ago
parent
commit
0e36c6e14f
  1. 2
      scheduler_error_mailer/ir_cron.py

2
scheduler_error_mailer/ir_cron.py

@ -63,7 +63,7 @@ class ir_cron(orm.Model):
context) context)
self.pool['email.template'].send_mail( 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) force_send=True, context=context)
return res return res

Loading…
Cancel
Save