From 34f6a00a0a38441f59468b1cfad2a34ef530a145 Mon Sep 17 00:00:00 2001
From: Quoc Duong
Date: Tue, 24 Sep 2024 15:28:21 +0700
Subject: [PATCH] [MIG] queue_job_cron: Migration to 18.0
---
queue_job_cron/README.rst | 18 ++++++++----
queue_job_cron/__manifest__.py | 2 +-
.../{CONFIGURATION.rst => CONFIGURATION.md} | 0
queue_job_cron/readme/CONTRIBUTORS.md | 2 ++
queue_job_cron/readme/CREDITS.md | 1 +
queue_job_cron/static/description/index.html | 29 +++++++++++++------
queue_job_cron/views/ir_cron_view.xml | 4 +--
7 files changed, 39 insertions(+), 17 deletions(-)
rename queue_job_cron/readme/{CONFIGURATION.rst => CONFIGURATION.md} (100%)
create mode 100644 queue_job_cron/readme/CREDITS.md
diff --git a/queue_job_cron/README.rst b/queue_job_cron/README.rst
index 7943963cd1..e2be8630ec 100644
--- a/queue_job_cron/README.rst
+++ b/queue_job_cron/README.rst
@@ -17,13 +17,13 @@ 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/17.0/queue_job_cron
+ :target: https://github.com/OCA/queue/tree/18.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-17-0/queue-17-0-queue_job_cron
+ :target: https://translation.odoo-community.org/projects/queue-18-0/queue-18-0-queue_job_cron
: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/queue&target_branch=17.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/queue&target_branch=18.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -64,7 +64,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.
@@ -81,6 +81,14 @@ Contributors
- Cédric Pigeon
- Nguyen Minh Chien
+- Tran Quoc duong
+- Vo Hong Thien
+
+Other credits
+-------------
+
+The migration of this module from 17.0 to 18.0 was financially supported
+by Camptocamp.
Maintainers
-----------
@@ -95,6 +103,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 fee66d568a..b996cc4d48 100644
--- a/queue_job_cron/__manifest__.py
+++ b/queue_job_cron/__manifest__.py
@@ -3,7 +3,7 @@
{
"name": "Scheduled Actions as Queue Jobs",
- "version": "17.0.1.0.0",
+ "version": "18.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/readme/CONFIGURATION.rst b/queue_job_cron/readme/CONFIGURATION.md
similarity index 100%
rename from queue_job_cron/readme/CONFIGURATION.rst
rename to queue_job_cron/readme/CONFIGURATION.md
diff --git a/queue_job_cron/readme/CONTRIBUTORS.md b/queue_job_cron/readme/CONTRIBUTORS.md
index 5a70306456..d5861f3ff1 100644
--- a/queue_job_cron/readme/CONTRIBUTORS.md
+++ b/queue_job_cron/readme/CONTRIBUTORS.md
@@ -1,2 +1,4 @@
- Cédric Pigeon \<\>
- Nguyen Minh Chien \<\>
+- Tran Quoc duong \<\>
+- Vo Hong Thien \<\>
diff --git a/queue_job_cron/readme/CREDITS.md b/queue_job_cron/readme/CREDITS.md
new file mode 100644
index 0000000000..83b3ec91f7
--- /dev/null
+++ b/queue_job_cron/readme/CREDITS.md
@@ -0,0 +1 @@
+The migration of this module from 17.0 to 18.0 was financially supported by Camptocamp.
diff --git a/queue_job_cron/static/description/index.html b/queue_job_cron/static/description/index.html
index 9815d66e41..ab76edda9a 100644
--- a/queue_job_cron/static/description/index.html
+++ b/queue_job_cron/static/description/index.html
@@ -8,10 +8,11 @@
/*
:Author: David Goodger (goodger@python.org)
-:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
+:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
+Despite the name, some widely supported CSS2 features are used.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
@@ -274,7 +275,7 @@
margin-left: 2em ;
margin-right: 2em }
-pre.code .ln { color: grey; } /* line numbers */
+pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -300,7 +301,7 @@
span.pre {
white-space: pre }
-span.problematic {
+span.problematic, pre.problematic {
color: red }
span.section-subtitle {
@@ -368,7 +369,7 @@ Scheduled Actions as Queue Jobs
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c790b0e3494e59c709d57d7dbb0864ac37ce3af23801499f352df7528d5fe072
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
+
This module extends the functionality of queue_job and allows to run an
Odoo cron as a queue job.
Table of contents
@@ -380,7 +381,8 @@ Scheduled Actions as Queue Jobs
Credits
@@ -409,7 +411,7 @@
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.
+
+
+
The migration of this module from 17.0 to 18.0 was financially supported
+by Camptocamp.
+
-
+
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.
-
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/views/ir_cron_view.xml b/queue_job_cron/views/ir_cron_view.xml
index 238fa98525..0a9a64d275 100644
--- a/queue_job_cron/views/ir_cron_view.xml
+++ b/queue_job_cron/views/ir_cron_view.xml
@@ -5,11 +5,11 @@
ir.cron
-
+