From d7bc62500ec2887655655fc813601009f81c43ba Mon Sep 17 00:00:00 2001 From: Joan Mateu Jordi Date: Tue, 1 Mar 2022 09:24:24 +0100 Subject: [PATCH 1/2] [MIG][15.0] queue_job_cron to version 15.0 --- queue_job_cron/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queue_job_cron/__manifest__.py b/queue_job_cron/__manifest__.py index 593d4bed93..480f2ef36d 100644 --- a/queue_job_cron/__manifest__.py +++ b/queue_job_cron/__manifest__.py @@ -10,5 +10,5 @@ "category": "Generic Modules", "depends": ["queue_job"], "data": ["data/data.xml", "views/ir_cron_view.xml"], - "installable": False, + "installable": True, } From 796b5098bba212dc59016fa684f5dea2207acac8 Mon Sep 17 00:00:00 2001 From: Benoit Aimont Date: Wed, 31 Aug 2022 16:02:22 +0200 Subject: [PATCH 2/2] [MIG] queue_job_cron: Migration to 16.0 --- .pre-commit-config.yaml | 1 - queue_job_cron/README.rst | 12 ++++++------ queue_job_cron/__manifest__.py | 2 +- queue_job_cron/i18n/queue_job_cron.pot | 2 +- queue_job_cron/static/description/index.html | 6 +++--- setup/queue_job_cron/odoo/addons/queue_job_cron | 1 + setup/queue_job_cron/setup.py | 6 ++++++ 7 files changed, 18 insertions(+), 12 deletions(-) create mode 120000 setup/queue_job_cron/odoo/addons/queue_job_cron create mode 100644 setup/queue_job_cron/setup.py diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1f6940c575..c6ddd79af8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,6 @@ exclude: | # NOT INSTALLABLE ADDONS ^base_export_async/| ^base_import_async/| - ^queue_job_cron/| ^queue_job_cron_jobrunner/| ^queue_job_subscribe/| ^test_base_import_async/| diff --git a/queue_job_cron/README.rst b/queue_job_cron/README.rst index 0ac92b6a92..3ae4159fcd 100644 --- a/queue_job_cron/README.rst +++ b/queue_job_cron/README.rst @@ -14,16 +14,16 @@ Scheduled Actions as Queue Jobs :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fqueue-lightgray.png?logo=github - :target: https://github.com/OCA/queue/tree/15.0/queue_job_cron + :target: https://github.com/OCA/queue/tree/16.0/queue_job_cron :alt: OCA/queue .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/queue-15-0/queue-15-0-queue_job_cron + :target: https://translation.odoo-community.org/projects/queue-16-0/queue-16-0-queue_job_cron :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/230/15.0 + :target: https://runbot.odoo-community.org/runbot/230/16.0 :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| This module extends the functionality of queue_job and allows to run an Odoo cron as a queue job. @@ -59,7 +59,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 smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -89,6 +89,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/queue `_ project on GitHub. +This module is part of the `OCA/queue `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/queue_job_cron/__manifest__.py b/queue_job_cron/__manifest__.py index 480f2ef36d..cd1ec6702e 100644 --- a/queue_job_cron/__manifest__.py +++ b/queue_job_cron/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Scheduled Actions as Queue Jobs", - "version": "15.0.1.0.0", + "version": "16.0.1.0.0", "author": "ACSONE SA/NV,Odoo Community Association (OCA)", "website": "https://github.com/OCA/queue", "license": "AGPL-3", diff --git a/queue_job_cron/i18n/queue_job_cron.pot b/queue_job_cron/i18n/queue_job_cron.pot index 65781a1191..ca4fadaf3e 100644 --- a/queue_job_cron/i18n/queue_job_cron.pot +++ b/queue_job_cron/i18n/queue_job_cron.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 15.0\n" +"Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" diff --git a/queue_job_cron/static/description/index.html b/queue_job_cron/static/description/index.html index f4d0818bf7..c9a092348b 100644 --- a/queue_job_cron/static/description/index.html +++ b/queue_job_cron/static/description/index.html @@ -367,7 +367,7 @@

Scheduled Actions as Queue Jobs

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

This module extends the functionality of queue_job and allows to run an Odoo cron as a queue job.

Table of contents

@@ -406,7 +406,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 smashing it by providing a detailed and welcomed -feedback.

+feedback.

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

@@ -430,7 +430,7 @@

Maintainers

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/queue project on GitHub.

+

This module is part of the OCA/queue project on GitHub.

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

diff --git a/setup/queue_job_cron/odoo/addons/queue_job_cron b/setup/queue_job_cron/odoo/addons/queue_job_cron new file mode 120000 index 0000000000..f5adafb380 --- /dev/null +++ b/setup/queue_job_cron/odoo/addons/queue_job_cron @@ -0,0 +1 @@ +../../../../queue_job_cron \ No newline at end of file diff --git a/setup/queue_job_cron/setup.py b/setup/queue_job_cron/setup.py new file mode 100644 index 0000000000..28c57bb640 --- /dev/null +++ b/setup/queue_job_cron/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)