From cef58bd3a1720f0950859285b7af407c31ee46a1 Mon Sep 17 00:00:00 2001 From: "Cuong, Nguyen Minh Tran Manh" Date: Fri, 29 Dec 2023 18:36:52 +0700 Subject: [PATCH] [IMP] scheduler_error_mailer: pre-commit auto fixes --- scheduler_error_mailer/README.rst | 42 +++++++++---------- scheduler_error_mailer/pyproject.toml | 3 ++ scheduler_error_mailer/readme/CONFIGURE.md | 5 +++ scheduler_error_mailer/readme/CONFIGURE.rst | 4 -- scheduler_error_mailer/readme/CONTRIBUTORS.md | 8 ++++ .../readme/CONTRIBUTORS.rst | 10 ----- .../{DESCRIPTION.rst => DESCRIPTION.md} | 4 +- .../static/description/index.html | 13 +++--- 8 files changed, 46 insertions(+), 43 deletions(-) create mode 100644 scheduler_error_mailer/pyproject.toml create mode 100644 scheduler_error_mailer/readme/CONFIGURE.md delete mode 100644 scheduler_error_mailer/readme/CONFIGURE.rst create mode 100644 scheduler_error_mailer/readme/CONTRIBUTORS.md delete mode 100644 scheduler_error_mailer/readme/CONTRIBUTORS.rst rename scheduler_error_mailer/readme/{DESCRIPTION.rst => DESCRIPTION.md} (75%) diff --git a/scheduler_error_mailer/README.rst b/scheduler_error_mailer/README.rst index 16b0dea51..6557cfec4 100644 --- a/scheduler_error_mailer/README.rst +++ b/scheduler_error_mailer/README.rst @@ -17,19 +17,19 @@ Scheduler Error Mailer :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/16.0/scheduler_error_mailer + :target: https://github.com/OCA/server-tools/tree/17.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-16-0/server-tools-16-0-scheduler_error_mailer + :target: https://translation.odoo-community.org/projects/server-tools-17-0/server-tools-17-0-scheduler_error_mailer :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/server-tools&target_branch=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/server-tools&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -This module adds the possibility to send an e-mail when a scheduler raises -an error. +This module adds the possibility to send an e-mail when a scheduler +raises an error. **Table of contents** @@ -41,8 +41,9 @@ Configuration 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. +1. Go to Settings -> Technical -> Automation -> Scheduled Actions +2. Choose the scheduled Actions you want to send the error email and + select the E-mail Template in the Error E-mail Template field. Bug Tracker =========== @@ -50,7 +51,7 @@ 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 to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -58,27 +59,26 @@ Credits ======= Authors -~~~~~~~ +------- * Akretion * Sodexis Contributors -~~~~~~~~~~~~ +------------ -* Sébastien BEAU -* David Beal -* Alexis de Lattre -* Sodexis -* Achraf Mhadhbi +- Sébastien BEAU +- David Beal +- Alexis de Lattre +- Sodexis +- Achraf Mhadhbi +- `Tecnativa `__: -* `Tecnativa `_: - - * Cristina Martin R. - * Víctor Martínez + - Cristina Martin R. + - Víctor Martínez Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -90,6 +90,6 @@ 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. +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/pyproject.toml b/scheduler_error_mailer/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/scheduler_error_mailer/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/scheduler_error_mailer/readme/CONFIGURE.md b/scheduler_error_mailer/readme/CONFIGURE.md new file mode 100644 index 000000000..292ab0e06 --- /dev/null +++ b/scheduler_error_mailer/readme/CONFIGURE.md @@ -0,0 +1,5 @@ +To configure this module, you need to: + +1. Go to Settings -\> Technical -\> Automation -\> Scheduled Actions +2. 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/CONFIGURE.rst b/scheduler_error_mailer/readme/CONFIGURE.rst deleted file mode 100644 index baf4c1a6d..000000000 --- a/scheduler_error_mailer/readme/CONFIGURE.rst +++ /dev/null @@ -1,4 +0,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. diff --git a/scheduler_error_mailer/readme/CONTRIBUTORS.md b/scheduler_error_mailer/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..f6489b865 --- /dev/null +++ b/scheduler_error_mailer/readme/CONTRIBUTORS.md @@ -0,0 +1,8 @@ +- Sébastien BEAU \<\> +- David Beal \<\> +- Alexis de Lattre \<\> +- Sodexis \<\> +- Achraf Mhadhbi \<\> +- [Tecnativa](https://www.tecnativa.com): + - Cristina Martin R. + - Víctor Martínez diff --git a/scheduler_error_mailer/readme/CONTRIBUTORS.rst b/scheduler_error_mailer/readme/CONTRIBUTORS.rst deleted file mode 100644 index afcb6d058..000000000 --- a/scheduler_error_mailer/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,10 +0,0 @@ -* Sébastien BEAU -* David Beal -* Alexis de Lattre -* Sodexis -* Achraf Mhadhbi - -* `Tecnativa `_: - - * Cristina Martin R. - * Víctor Martínez diff --git a/scheduler_error_mailer/readme/DESCRIPTION.rst b/scheduler_error_mailer/readme/DESCRIPTION.md similarity index 75% rename from scheduler_error_mailer/readme/DESCRIPTION.rst rename to scheduler_error_mailer/readme/DESCRIPTION.md index 6e097d81f..b47434046 100644 --- a/scheduler_error_mailer/readme/DESCRIPTION.rst +++ b/scheduler_error_mailer/readme/DESCRIPTION.md @@ -1,2 +1,2 @@ -This module adds the possibility to send an e-mail when a scheduler raises -an error. +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 index cc2d1ffd5..dfd686bce 100644 --- a/scheduler_error_mailer/static/description/index.html +++ b/scheduler_error_mailer/static/description/index.html @@ -369,9 +369,9 @@ ul.auto-toc { !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:8f769588850c2edc13dfe9095e09d15c1256bf36c0599d249e273a90598339ba !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

-

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

+

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

+

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

Table of contents

    @@ -390,7 +390,8 @@ an error.

    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. +
    5. Choose the scheduled Actions you want to send the error email and +select the E-mail Template in the Error E-mail Template field.
@@ -398,7 +399,7 @@ an error.

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 to smash it by providing a detailed and welcomed -feedback.

+feedback.

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

@@ -432,7 +433,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome

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.

+

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.