Browse Source

[12.0][MIG] scheduler_error_mailer: Migration to v12

pull/1524/head
Cristina Martin 6 years ago
parent
commit
6df102846e
  1. 4
      scheduler_error_mailer/README.rst
  2. 2
      scheduler_error_mailer/__init__.py
  3. 11
      scheduler_error_mailer/__manifest__.py
  4. 3
      scheduler_error_mailer/models/__init__.py
  5. 6
      scheduler_error_mailer/models/ir_cron.py
  6. 4
      scheduler_error_mailer/readme/CONFIGURE.rst
  7. 9
      scheduler_error_mailer/readme/CONTRIBUTORS.rst
  8. 2
      scheduler_error_mailer/readme/DESCRIPTION.rst

4
scheduler_error_mailer/README.rst

@ -51,6 +51,10 @@ Contributors
* Sodexis <dev@sodexis.com>
* Achraf Mhadhbi <machraf@bloopark.de>
* `Tecnativa <https://www.tecnativa.com>`_:
* Cristina Martin R.
Maintainer
----------

2
scheduler_error_mailer/__init__.py

@ -1,5 +1,3 @@
# © 2012-2013 Akretion Sébastien BEAU,David Beal,Alexis de Lattre
# © 2016 Sodexis
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import models

11
scheduler_error_mailer/__manifest__.py

@ -1,15 +1,16 @@
# © 2012-2013 Akretion Sébastien BEAU,David Beal,Alexis de Lattre
# © 2016 Sodexis
# © 2018 bloopark systems (<http://bloopark.de>)
# Copyright 2012-2013 Akretion Sébastien BEAU,David Beal,Alexis de Lattre
# Copyright 2016 Sodexis
# Copyright 2018 bloopark systems (<http://bloopark.de>)
# Copyright 2019 Tecnativa - Cristina Martin R.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
'name': 'Scheduler Error Mailer',
'version': '11.0.1.0.0',
'version': '12.0.1.0.0',
'category': 'Extra Tools',
'license': 'AGPL-3',
'author': "Akretion,Sodexis,Odoo Community Association (OCA)",
'website': 'http://www.akretion.com/',
'website': 'https://github.com/OCA/server-tools',
'depends': ['mail'],
'data': [
'data/ir_cron_email_tpl.xml',

3
scheduler_error_mailer/models/__init__.py

@ -1,6 +1,3 @@
# © 2012-2013 Akretion Sébastien BEAU,David Beal,Alexis de Lattre
# © 2016 Sodexis
# © 2018 bloopark systems (<http://bloopark.de>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import ir_cron

6
scheduler_error_mailer/models/ir_cron.py

@ -1,6 +1,6 @@
# © 2012-2013 Akretion Sébastien BEAU,David Beal,Alexis de Lattre
# © 2016 Sodexis
# © 2018 bloopark systems (<http://bloopark.de>)
# Copyright 2012-2013 Akretion Sébastien BEAU,David Beal,Alexis de Lattre
# Copyright 2016 Sodexis
# Copyright 2018 bloopark systems (<http://bloopark.de>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import _, api, fields, models

4
scheduler_error_mailer/readme/CONFIGURE.rst

@ -0,0 +1,4 @@
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.

9
scheduler_error_mailer/readme/CONTRIBUTORS.rst

@ -0,0 +1,9 @@
* Sébastien BEAU <sebastien.beau@akretion.com>
* David Beal <bealdavid@gmail.com>
* Alexis de Lattre <alexis.delattre@akretion.com>
* Sodexis <dev@sodexis.com>
* Achraf Mhadhbi <machraf@bloopark.de>
* `Tecnativa <https://www.tecnativa.com>`_:
* Cristina Martin R.

2
scheduler_error_mailer/readme/DESCRIPTION.rst

@ -0,0 +1,2 @@
This module adds the possibility to send an e-mail when a scheduler raises
an error.
Loading…
Cancel
Save