From ffe3612819a45ec4494aec481c312ff9a7a77dee Mon Sep 17 00:00:00 2001 From: hveficent Date: Mon, 3 Jun 2019 16:43:36 +0200 Subject: [PATCH] [MIG] base_cron_exclusion: Migration to 12.0 --- base_cron_exclusion/README.rst | 66 ++- base_cron_exclusion/__manifest__.py | 2 +- .../i18n/base_cron_exclusion.pot | 1 - base_cron_exclusion/i18n/cs_CZ.po | 1 - base_cron_exclusion/i18n/es.po | 1 - base_cron_exclusion/i18n/fr.po | 1 - base_cron_exclusion/readme/CONTRIBUTORS.rst | 3 + base_cron_exclusion/readme/DESCRIPTION.rst | 2 + base_cron_exclusion/readme/USAGE.rst | 7 + .../static/description/index.html | 434 ++++++++++++++++++ base_cron_exclusion/views/ir_cron_view.xml | 2 +- 11 files changed, 492 insertions(+), 28 deletions(-) create mode 100644 base_cron_exclusion/readme/CONTRIBUTORS.rst create mode 100644 base_cron_exclusion/readme/DESCRIPTION.rst create mode 100644 base_cron_exclusion/readme/USAGE.rst create mode 100644 base_cron_exclusion/static/description/index.html diff --git a/base_cron_exclusion/README.rst b/base_cron_exclusion/README.rst index 2c9e0ae8c..e99e5b38e 100644 --- a/base_cron_exclusion/README.rst +++ b/base_cron_exclusion/README.rst @@ -1,14 +1,38 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: https://www.gnu.org/licenses/agpl - :alt: License: AGPL-3 - =================== Base Cron Exclusion =================== +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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/base_cron_exclusion + :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-base_cron_exclusion + :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 extends the functionality of scheduled actions to allow you to select the ones that should not run simultaneously. +**Table of contents** + +.. contents:: + :local: + Usage ===== @@ -20,46 +44,44 @@ To use this module, you need to: you are editing. Note that this is mutual and the selected actions will block the initial action when running. -.. 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 smash it by providing 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 `_. +* Eficent Contributors ------------- +~~~~~~~~~~~~ * Lois Rilo * Jordi Ballester * Bhavesh Odedra -Do not contact contributors directly about support or help with technical issues. +Maintainers +~~~~~~~~~~~ -Maintainer ----------- +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/base_cron_exclusion/__manifest__.py b/base_cron_exclusion/__manifest__.py index 0dab03fbd..5bf8b6532 100644 --- a/base_cron_exclusion/__manifest__.py +++ b/base_cron_exclusion/__manifest__.py @@ -6,7 +6,7 @@ "name": "Base Cron Exclusion", "summary": "Allow you to select scheduled actions that should not run " "simultaneously.", - "version": "11.0.1.0.0", + "version": "12.0.1.0.0", "author": "Eficent, Odoo Community Association (OCA)", "website": "https://github.com/OCA/server-tools", "category": "Tools", diff --git a/base_cron_exclusion/i18n/base_cron_exclusion.pot b/base_cron_exclusion/i18n/base_cron_exclusion.pot index f16369b9c..e42e9ffd8 100644 --- a/base_cron_exclusion/i18n/base_cron_exclusion.pot +++ b/base_cron_exclusion/i18n/base_cron_exclusion.pot @@ -15,7 +15,6 @@ msgstr "" #. module: base_cron_exclusion #: model:ir.model.fields,field_description:base_cron_exclusion.field_ir_cron_mutually_exclusive_cron_ids -#: model:ir.model.fields,field_description:base_cron_exclusion.field_nsca_check_mutually_exclusive_cron_ids #: model:ir.ui.view,arch_db:base_cron_exclusion.ir_cron_view msgid "Mutually Exclusive Scheduled Actions" msgstr "" diff --git a/base_cron_exclusion/i18n/cs_CZ.po b/base_cron_exclusion/i18n/cs_CZ.po index 5e0cd02db..1debe736d 100644 --- a/base_cron_exclusion/i18n/cs_CZ.po +++ b/base_cron_exclusion/i18n/cs_CZ.po @@ -21,7 +21,6 @@ msgstr "" #. module: base_cron_exclusion #: model:ir.model.fields,field_description:base_cron_exclusion.field_ir_cron_mutually_exclusive_cron_ids -#: model:ir.model.fields,field_description:base_cron_exclusion.field_nsca_check_mutually_exclusive_cron_ids #: model:ir.ui.view,arch_db:base_cron_exclusion.ir_cron_view msgid "Mutually Exclusive Scheduled Actions" msgstr "Vzájemně výlučné plánované akce" diff --git a/base_cron_exclusion/i18n/es.po b/base_cron_exclusion/i18n/es.po index b64e92c40..a4f213643 100644 --- a/base_cron_exclusion/i18n/es.po +++ b/base_cron_exclusion/i18n/es.po @@ -20,7 +20,6 @@ msgstr "" #. module: base_cron_exclusion #: model:ir.model.fields,field_description:base_cron_exclusion.field_ir_cron_mutually_exclusive_cron_ids -#: model:ir.model.fields,field_description:base_cron_exclusion.field_nsca_check_mutually_exclusive_cron_ids #: model:ir.ui.view,arch_db:base_cron_exclusion.ir_cron_view msgid "Mutually Exclusive Scheduled Actions" msgstr "Acciones programadas excluyentes mutuamente" diff --git a/base_cron_exclusion/i18n/fr.po b/base_cron_exclusion/i18n/fr.po index a81ccbaca..4c6a3ebb0 100644 --- a/base_cron_exclusion/i18n/fr.po +++ b/base_cron_exclusion/i18n/fr.po @@ -20,7 +20,6 @@ msgstr "" #. module: base_cron_exclusion #: model:ir.model.fields,field_description:base_cron_exclusion.field_ir_cron_mutually_exclusive_cron_ids -#: model:ir.model.fields,field_description:base_cron_exclusion.field_nsca_check_mutually_exclusive_cron_ids #: model:ir.ui.view,arch_db:base_cron_exclusion.ir_cron_view msgid "Mutually Exclusive Scheduled Actions" msgstr "Actions planifiées mutuellement exclusives" diff --git a/base_cron_exclusion/readme/CONTRIBUTORS.rst b/base_cron_exclusion/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..fdd354aab --- /dev/null +++ b/base_cron_exclusion/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* Lois Rilo +* Jordi Ballester +* Bhavesh Odedra diff --git a/base_cron_exclusion/readme/DESCRIPTION.rst b/base_cron_exclusion/readme/DESCRIPTION.rst new file mode 100644 index 000000000..3dd9ca480 --- /dev/null +++ b/base_cron_exclusion/readme/DESCRIPTION.rst @@ -0,0 +1,2 @@ +This module extends the functionality of scheduled actions to allow you to +select the ones that should not run simultaneously. diff --git a/base_cron_exclusion/readme/USAGE.rst b/base_cron_exclusion/readme/USAGE.rst new file mode 100644 index 000000000..782e14e60 --- /dev/null +++ b/base_cron_exclusion/readme/USAGE.rst @@ -0,0 +1,7 @@ +To use this module, you need to: + +#. Go to *Settings > Technical > Automation > Scheduled Actions*. +#. In the form view go to the tab *Mutually Exclusive Scheduled Actions*. +#. Fill it with the actions that should be blocked while running the action + you are editing. Note that this is mutual and the selected actions will + block the initial action when running. diff --git a/base_cron_exclusion/static/description/index.html b/base_cron_exclusion/static/description/index.html new file mode 100644 index 000000000..a54fd3227 --- /dev/null +++ b/base_cron_exclusion/static/description/index.html @@ -0,0 +1,434 @@ + + + + + + +Base Cron Exclusion + + + +
+

Base Cron Exclusion

+ + +

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

+

This module extends the functionality of scheduled actions to allow you to +select the ones that should not run simultaneously.

+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
    +
  1. Go to Settings > Technical > Automation > Scheduled Actions.
  2. +
  3. In the form view go to the tab Mutually Exclusive Scheduled Actions.
  4. +
  5. Fill it with the actions that should be blocked while running the action +you are editing. Note that this is mutual and the selected actions will +block the initial action when running.
  6. +
+
+
+

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

+
    +
  • Eficent
  • +
+
+ +
+

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.

+
+
+
+ + diff --git a/base_cron_exclusion/views/ir_cron_view.xml b/base_cron_exclusion/views/ir_cron_view.xml index 8876cb3c0..d35584562 100644 --- a/base_cron_exclusion/views/ir_cron_view.xml +++ b/base_cron_exclusion/views/ir_cron_view.xml @@ -3,7 +3,7 @@ License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) --> - + ir.cron.form - base_cron_exclusion ir.cron