diff --git a/scheduler_error_mailer/README.rst b/scheduler_error_mailer/README.rst index 269dec34c..9ba801de4 100644 --- a/scheduler_error_mailer/README.rst +++ b/scheduler_error_mailer/README.rst @@ -24,7 +24,7 @@ To use this module, you need to: .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/149/9.0 + :target: https://runbot.odoo-community.org/runbot/149/10.0 Bug Tracker =========== diff --git a/scheduler_error_mailer/__manifest__.py b/scheduler_error_mailer/__manifest__.py index e13ef0594..0da065b2b 100644 --- a/scheduler_error_mailer/__manifest__.py +++ b/scheduler_error_mailer/__manifest__.py @@ -5,7 +5,7 @@ { 'name': 'Scheduler Error Mailer', - 'version': '9.0.1.0.0', + 'version': '10.0.1.0.0', 'category': 'Extra Tools', 'license': 'AGPL-3', 'author': "Akretion,Sodexis,Odoo Community Association (OCA)", @@ -17,5 +17,5 @@ ], 'demo': ['demo/ir_cron_demo.xml'], 'images': ['images/scheduler_error_mailer.jpg'], - 'installable': False, + 'installable': True, } diff --git a/scheduler_error_mailer/data/ir_cron_email_tpl.xml b/scheduler_error_mailer/data/ir_cron_email_tpl.xml index b8e6a2598..9e7316802 100644 --- a/scheduler_error_mailer/data/ir_cron_email_tpl.xml +++ b/scheduler_error_mailer/data/ir_cron_email_tpl.xml @@ -1,10 +1,4 @@ - @@ -42,7 +36,7 @@ ${ctx.get('job_exception') and ctx.get('job_exception').value or 'Failed to get

--
-Automatic e-mail sent by OpenERP. Do not reply.
+Automatic e-mail sent by Odoo. Do not reply.
Database : ${ctx.get('dbname')}

diff --git a/scheduler_error_mailer/models/ir_cron.py b/scheduler_error_mailer/models/ir_cron.py index a6134be15..efb2a4bed 100644 --- a/scheduler_error_mailer/models/ir_cron.py +++ b/scheduler_error_mailer/models/ir_cron.py @@ -3,8 +3,8 @@ # © 2016 Sodexis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models, fields, api, _ -from openerp.exceptions import UserError +from odoo import models, fields, api, _ +from odoo.exceptions import UserError import logging