From 9a5cf1073cac490d3503c3be30e8bb1ada979f2b Mon Sep 17 00:00:00 2001 From: Cristina Martin Date: Mon, 4 Mar 2019 11:39:36 +0100 Subject: [PATCH] [12.0][MIG] scheduler_error_mailer: Migration to v12 [UPD] README.rst [UPD] Update scheduler_error_mailer.pot Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-tools-12.0/server-tools-12.0-scheduler_error_mailer Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-scheduler_error_mailer/ [UPD] README.rst --- scheduler_error_mailer/README.rst | 75 +-- scheduler_error_mailer/__init__.py | 2 - scheduler_error_mailer/__manifest__.py | 11 +- scheduler_error_mailer/i18n/de.po | 29 +- scheduler_error_mailer/i18n/es.po | 29 +- scheduler_error_mailer/i18n/hr.po | 24 +- scheduler_error_mailer/i18n/pt_BR.po | 29 +- .../i18n/scheduler_error_mailer.pot | 26 +- scheduler_error_mailer/i18n/sl.po | 29 +- scheduler_error_mailer/i18n/zh_CN.po | 29 +- scheduler_error_mailer/models/__init__.py | 3 - scheduler_error_mailer/models/ir_cron.py | 6 +- scheduler_error_mailer/readme/CONFIGURE.rst | 4 + .../readme/CONTRIBUTORS.rst | 9 + scheduler_error_mailer/readme/DESCRIPTION.rst | 2 + .../static/description/index.html | 438 ++++++++++++++++++ 16 files changed, 546 insertions(+), 199 deletions(-) create mode 100644 scheduler_error_mailer/readme/CONFIGURE.rst create mode 100644 scheduler_error_mailer/readme/CONTRIBUTORS.rst create mode 100644 scheduler_error_mailer/readme/DESCRIPTION.rst create mode 100644 scheduler_error_mailer/static/description/index.html diff --git a/scheduler_error_mailer/README.rst b/scheduler_error_mailer/README.rst index db7417404..b5dbb228a 100644 --- a/scheduler_error_mailer/README.rst +++ b/scheduler_error_mailer/README.rst @@ -1,14 +1,38 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - ====================== Scheduler Error Mailer ====================== +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github + :target: https://github.com/OCA/server-tools/tree/12.0/scheduler_error_mailer + :alt: OCA/server-tools +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-scheduler_error_mailer + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/149/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + This module adds the possibility to send an e-mail when a scheduler raises an error. +**Table of contents** + +.. contents:: + :local: + Configuration ============= @@ -17,33 +41,27 @@ 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. -Usage -===== - -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/11.0 - Bug Tracker =========== -Bugs are tracked on `GitHub Issues -`_. In case of trouble, please -check there if your issue has already been reported. If you spotted it first, -help us smashing it by providing a detailed and welcomed feedback. +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. Credits ======= -Images ------- +Authors +~~~~~~~ -* Odoo Community Association: `Icon `_. +* Akretion +* Sodexis Contributors ------------- +~~~~~~~~~~~~ * Sébastien BEAU * David Beal @@ -51,18 +69,23 @@ Contributors * Sodexis * Achraf Mhadhbi +* `Tecnativa `_: -Maintainer ----------- + * Cristina Martin R. + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -To contribute to this module, please visit https://odoo-community.org. +This module is part of the `OCA/server-tools `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/scheduler_error_mailer/__init__.py b/scheduler_error_mailer/__init__.py index f55583a17..69f7babdf 100644 --- a/scheduler_error_mailer/__init__.py +++ b/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 diff --git a/scheduler_error_mailer/__manifest__.py b/scheduler_error_mailer/__manifest__.py index 2954d0a8e..92e61ac59 100644 --- a/scheduler_error_mailer/__manifest__.py +++ b/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 () +# Copyright 2012-2013 Akretion Sébastien BEAU,David Beal,Alexis de Lattre +# Copyright 2016 Sodexis +# Copyright 2018 bloopark systems () +# 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', diff --git a/scheduler_error_mailer/i18n/de.po b/scheduler_error_mailer/i18n/de.po index cc4113013..62e2afddb 100644 --- a/scheduler_error_mailer/i18n/de.po +++ b/scheduler_error_mailer/i18n/de.po @@ -61,27 +61,7 @@ msgid "" msgstr "" #. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_channel_ids -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_channel_ids -msgid "Add Channels" -msgstr "" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_partner_ids -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_partner_ids -msgid "Add Followers" -msgstr "" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_template_id -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_template_id -#, fuzzy -msgid "Email Template" -msgstr "Fehler e-Mail Vorlage" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_email_template_id -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_email_template_id +#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron__email_template_id msgid "Error E-mail Template" msgstr "Fehler e-Mail Vorlage" @@ -91,8 +71,7 @@ msgid "Scheduled Actions" msgstr "" #. module: scheduler_error_mailer -#: model:ir.model.fields,help:scheduler_error_mailer.field_ir_cron_email_template_id -#: model:ir.model.fields,help:scheduler_error_mailer.field_nsca_check_email_template_id +#: model:ir.model.fields,help:scheduler_error_mailer.field_ir_cron__email_template_id msgid "Select the email template that will be sent when this scheduler fails." msgstr "" "Wähle die e-Mail Vorlage welche bei einem Fehler dieses Schedulers gesendet " @@ -116,5 +95,9 @@ msgstr "" msgid "[DB ${ctx.get('dbname')}] Scheduler '${object.name or ''}' FAILED" msgstr "[DB ${ctx.get('dbname')}] Scheduler '${object.name or ''}' FEHLER" +#, fuzzy +#~ msgid "Email Template" +#~ msgstr "Fehler e-Mail Vorlage" + #~ msgid "ir.cron" #~ msgstr "ir.cron" diff --git a/scheduler_error_mailer/i18n/es.po b/scheduler_error_mailer/i18n/es.po index d283d8f4d..e920355fc 100644 --- a/scheduler_error_mailer/i18n/es.po +++ b/scheduler_error_mailer/i18n/es.po @@ -62,27 +62,7 @@ msgid "" msgstr "" #. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_channel_ids -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_channel_ids -msgid "Add Channels" -msgstr "" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_partner_ids -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_partner_ids -msgid "Add Followers" -msgstr "" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_template_id -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_template_id -#, fuzzy -msgid "Email Template" -msgstr "Plantilla de correo electrónico de error" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_email_template_id -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_email_template_id +#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron__email_template_id msgid "Error E-mail Template" msgstr "Plantilla de correo electrónico de error" @@ -92,8 +72,7 @@ msgid "Scheduled Actions" msgstr "" #. module: scheduler_error_mailer -#: model:ir.model.fields,help:scheduler_error_mailer.field_ir_cron_email_template_id -#: model:ir.model.fields,help:scheduler_error_mailer.field_nsca_check_email_template_id +#: model:ir.model.fields,help:scheduler_error_mailer.field_ir_cron__email_template_id msgid "Select the email template that will be sent when this scheduler fails." msgstr "" "Seleccione la plantilla de correo electrónico que se enviará cuando falla " @@ -117,5 +96,9 @@ msgstr "" msgid "[DB ${ctx.get('dbname')}] Scheduler '${object.name or ''}' FAILED" msgstr "" +#, fuzzy +#~ msgid "Email Template" +#~ msgstr "Plantilla de correo electrónico de error" + #~ msgid "ir.cron" #~ msgstr "ir.cron" diff --git a/scheduler_error_mailer/i18n/hr.po b/scheduler_error_mailer/i18n/hr.po index 3641fe18d..6d2977391 100644 --- a/scheduler_error_mailer/i18n/hr.po +++ b/scheduler_error_mailer/i18n/hr.po @@ -62,26 +62,7 @@ msgid "" msgstr "" #. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_channel_ids -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_channel_ids -msgid "Add Channels" -msgstr "" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_partner_ids -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_partner_ids -msgid "Add Followers" -msgstr "" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_template_id -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_template_id -msgid "Email Template" -msgstr "" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_email_template_id -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_email_template_id +#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron__email_template_id msgid "Error E-mail Template" msgstr "" @@ -91,8 +72,7 @@ msgid "Scheduled Actions" msgstr "" #. module: scheduler_error_mailer -#: model:ir.model.fields,help:scheduler_error_mailer.field_ir_cron_email_template_id -#: model:ir.model.fields,help:scheduler_error_mailer.field_nsca_check_email_template_id +#: model:ir.model.fields,help:scheduler_error_mailer.field_ir_cron__email_template_id msgid "Select the email template that will be sent when this scheduler fails." msgstr "" diff --git a/scheduler_error_mailer/i18n/pt_BR.po b/scheduler_error_mailer/i18n/pt_BR.po index 6f91016b9..226966388 100644 --- a/scheduler_error_mailer/i18n/pt_BR.po +++ b/scheduler_error_mailer/i18n/pt_BR.po @@ -62,27 +62,7 @@ msgid "" msgstr "" #. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_channel_ids -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_channel_ids -msgid "Add Channels" -msgstr "" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_partner_ids -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_partner_ids -msgid "Add Followers" -msgstr "" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_template_id -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_template_id -#, fuzzy -msgid "Email Template" -msgstr "Modelo de Erro de E-mail" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_email_template_id -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_email_template_id +#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron__email_template_id msgid "Error E-mail Template" msgstr "Modelo de Erro de E-mail" @@ -92,8 +72,7 @@ msgid "Scheduled Actions" msgstr "" #. module: scheduler_error_mailer -#: model:ir.model.fields,help:scheduler_error_mailer.field_ir_cron_email_template_id -#: model:ir.model.fields,help:scheduler_error_mailer.field_nsca_check_email_template_id +#: model:ir.model.fields,help:scheduler_error_mailer.field_ir_cron__email_template_id msgid "Select the email template that will be sent when this scheduler fails." msgstr "" "Selecione o modelo de email que será enviado quando o agendador falhar." @@ -115,3 +94,7 @@ msgstr "" #: model:mail.template,subject:scheduler_error_mailer.scheduler_error_mailer msgid "[DB ${ctx.get('dbname')}] Scheduler '${object.name or ''}' FAILED" msgstr "[DB ${ctx.get('dbname')}] Agendador '${object.name or ''}' FALHOU" + +#, fuzzy +#~ msgid "Email Template" +#~ msgstr "Modelo de Erro de E-mail" diff --git a/scheduler_error_mailer/i18n/scheduler_error_mailer.pot b/scheduler_error_mailer/i18n/scheduler_error_mailer.pot index 1ba9cdbfc..72fd51ff7 100644 --- a/scheduler_error_mailer/i18n/scheduler_error_mailer.pot +++ b/scheduler_error_mailer/i18n/scheduler_error_mailer.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" @@ -49,26 +49,7 @@ msgid "\n" msgstr "" #. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_channel_ids -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_channel_ids -msgid "Add Channels" -msgstr "" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_partner_ids -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_partner_ids -msgid "Add Followers" -msgstr "" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_template_id -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_template_id -msgid "Email Template" -msgstr "" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_email_template_id -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_email_template_id +#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron__email_template_id msgid "Error E-mail Template" msgstr "" @@ -78,8 +59,7 @@ msgid "Scheduled Actions" msgstr "" #. module: scheduler_error_mailer -#: model:ir.model.fields,help:scheduler_error_mailer.field_ir_cron_email_template_id -#: model:ir.model.fields,help:scheduler_error_mailer.field_nsca_check_email_template_id +#: model:ir.model.fields,help:scheduler_error_mailer.field_ir_cron__email_template_id msgid "Select the email template that will be sent when this scheduler fails." msgstr "" diff --git a/scheduler_error_mailer/i18n/sl.po b/scheduler_error_mailer/i18n/sl.po index bd9994cda..96b252f6b 100644 --- a/scheduler_error_mailer/i18n/sl.po +++ b/scheduler_error_mailer/i18n/sl.po @@ -62,27 +62,7 @@ msgid "" msgstr "" #. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_channel_ids -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_channel_ids -msgid "Add Channels" -msgstr "" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_partner_ids -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_partner_ids -msgid "Add Followers" -msgstr "" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_template_id -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_template_id -#, fuzzy -msgid "Email Template" -msgstr "Predloga obvestila o napaki" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_email_template_id -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_email_template_id +#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron__email_template_id msgid "Error E-mail Template" msgstr "Predloga obvestila o napaki" @@ -92,8 +72,7 @@ msgid "Scheduled Actions" msgstr "" #. module: scheduler_error_mailer -#: model:ir.model.fields,help:scheduler_error_mailer.field_ir_cron_email_template_id -#: model:ir.model.fields,help:scheduler_error_mailer.field_nsca_check_email_template_id +#: model:ir.model.fields,help:scheduler_error_mailer.field_ir_cron__email_template_id msgid "Select the email template that will be sent when this scheduler fails." msgstr "Izberite predlogo za razpošiljanje ob napakah razporejevalca." @@ -115,3 +94,7 @@ msgstr "" msgid "[DB ${ctx.get('dbname')}] Scheduler '${object.name or ''}' FAILED" msgstr "" "[DB ${ctx.get('dbname')}] Razporejevalec '${object.name or ''}' NEUSPEŠEN" + +#, fuzzy +#~ msgid "Email Template" +#~ msgstr "Predloga obvestila o napaki" diff --git a/scheduler_error_mailer/i18n/zh_CN.po b/scheduler_error_mailer/i18n/zh_CN.po index 4a074219c..053e325d1 100644 --- a/scheduler_error_mailer/i18n/zh_CN.po +++ b/scheduler_error_mailer/i18n/zh_CN.po @@ -62,27 +62,7 @@ msgid "" msgstr "" #. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_channel_ids -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_channel_ids -msgid "Add Channels" -msgstr "" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_partner_ids -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_partner_ids -msgid "Add Followers" -msgstr "" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_template_id -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_template_id -#, fuzzy -msgid "Email Template" -msgstr "错误E-mail 模板" - -#. module: scheduler_error_mailer -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron_email_template_id -#: model:ir.model.fields,field_description:scheduler_error_mailer.field_nsca_check_email_template_id +#: model:ir.model.fields,field_description:scheduler_error_mailer.field_ir_cron__email_template_id msgid "Error E-mail Template" msgstr "错误E-mail 模板" @@ -92,8 +72,7 @@ msgid "Scheduled Actions" msgstr "" #. module: scheduler_error_mailer -#: model:ir.model.fields,help:scheduler_error_mailer.field_ir_cron_email_template_id -#: model:ir.model.fields,help:scheduler_error_mailer.field_nsca_check_email_template_id +#: model:ir.model.fields,help:scheduler_error_mailer.field_ir_cron__email_template_id msgid "Select the email template that will be sent when this scheduler fails." msgstr "" @@ -114,3 +93,7 @@ msgstr "" #: model:mail.template,subject:scheduler_error_mailer.scheduler_error_mailer msgid "[DB ${ctx.get('dbname')}] Scheduler '${object.name or ''}' FAILED" msgstr "" + +#, fuzzy +#~ msgid "Email Template" +#~ msgstr "错误E-mail 模板" diff --git a/scheduler_error_mailer/models/__init__.py b/scheduler_error_mailer/models/__init__.py index 151e123d9..b365c0e97 100644 --- a/scheduler_error_mailer/models/__init__.py +++ b/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 () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import ir_cron diff --git a/scheduler_error_mailer/models/ir_cron.py b/scheduler_error_mailer/models/ir_cron.py index 9eedcfa23..2bce89dd4 100644 --- a/scheduler_error_mailer/models/ir_cron.py +++ b/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 () +# Copyright 2012-2013 Akretion Sébastien BEAU,David Beal,Alexis de Lattre +# Copyright 2016 Sodexis +# Copyright 2018 bloopark systems () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import _, api, fields, models diff --git a/scheduler_error_mailer/readme/CONFIGURE.rst b/scheduler_error_mailer/readme/CONFIGURE.rst new file mode 100644 index 000000000..baf4c1a6d --- /dev/null +++ b/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. diff --git a/scheduler_error_mailer/readme/CONTRIBUTORS.rst b/scheduler_error_mailer/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..496cedb9f --- /dev/null +++ b/scheduler_error_mailer/readme/CONTRIBUTORS.rst @@ -0,0 +1,9 @@ +* Sébastien BEAU +* David Beal +* Alexis de Lattre +* Sodexis +* Achraf Mhadhbi + +* `Tecnativa `_: + + * Cristina Martin R. diff --git a/scheduler_error_mailer/readme/DESCRIPTION.rst b/scheduler_error_mailer/readme/DESCRIPTION.rst new file mode 100644 index 000000000..6e097d81f --- /dev/null +++ b/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. diff --git a/scheduler_error_mailer/static/description/index.html b/scheduler_error_mailer/static/description/index.html new file mode 100644 index 000000000..2586581cf --- /dev/null +++ b/scheduler_error_mailer/static/description/index.html @@ -0,0 +1,438 @@ + + + + + + +Scheduler Error Mailer + + + +
+

Scheduler Error Mailer

+ + +

Beta License: AGPL-3 OCA/server-tools Translate me on Weblate Try me on Runbot

+

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

+

Table of contents

+ +
+

Configuration

+

To configure this module, you need to:

+
    +
  1. Go to Settings -> Technical -> Automation -> Scheduled Actions
  2. +
  3. Choose the scheduled Actions you want to send the error email and select the E-mail Template in the Error E-mail Template field.
  4. +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Akretion
  • +
  • Sodexis
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/server-tools project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ +