OdooWiki OCA HUB

Scheduler Error Mailer

scheduler_error_mailer folder_open OCA/server-tools open_in_new
Extra Tools License: AGPL-3

This module adds the possibility to send an e-mail when a scheduler raises an error.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Sends an automatic e-mail to the scheduler's responsible user whenever a scheduled action (cron) fails, including the error message and details of the task. Each scheduled action gets an 'Error E-mail Template' field to choose which e-mail is sent.

This module makes Odoo warn people by e-mail when a scheduled action (a task Odoo runs automatically in the background) crashes.

On every scheduled action form, a new field 'Error E-mail Template' appears after the priority field. It lets you pick which e-mail template is used for that task; only templates built for scheduled actions can be chosen. By default the provided 'Scheduler Error' template is preselected, and when the module is installed this template is assigned to all existing scheduled actions.

When a scheduled action raises an error, the module catches it, sends the chosen e-mail immediately, and then lets the error continue as usual. The e-mail goes to the user responsible for the scheduled action (both sender and recipient are that user's address). Its subject shows the database name and the task name with 'FAILED', and the body contains the error message, the database name, and details of the task: model, Python code, interval and responsible user. The e-mail is deleted automatically after sending.

A demo scheduled action named 'Test Scheduler Error Mailer' is included (inactive by default) to trigger a deliberate failure for testing. The module touches the scheduled actions model ir.cron and the e-mail template model mail.template.

Depends on

mail
Models and fields (1)
  • ir.cron · extends an existing modelemail_template_id (Error E-mail Template)

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/server-tools.

terminal Installation and usage

OCA documentation · Odoo 19.0

To configure this module, you need to:

  • Go to Settings -\> Technical -\> Automation -\> Scheduled Actions
  • Choose the scheduled Actions you want to send the error email and select the E-mail Template in the Error E-mail Template field.

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.