diff --git a/README.md b/README.md index 42c24dad52..feece04ffa 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ addon | version | maintainers | summary --- | --- | --- | --- [base_export_async](base_export_async/) | 16.0.1.1.0 | | Asynchronous export with job queue [base_import_async](base_import_async/) | 16.0.1.2.0 | | Import CSV files in the background -[queue_job](queue_job/) | 16.0.2.11.0 | [](https://github.com/guewen) | Job Queue +[queue_job](queue_job/) | 16.0.2.11.2 | [](https://github.com/guewen) | Job Queue [queue_job_batch](queue_job_batch/) | 16.0.1.0.1 | | Job Queue Batch [queue_job_cron](queue_job_cron/) | 16.0.2.1.0 | | Scheduled Actions as Queue Jobs [queue_job_cron_jobrunner](queue_job_cron_jobrunner/) | 16.0.1.1.0 | [](https://github.com/ivantodorovich) | Run jobs without a dedicated JobRunner diff --git a/queue_job/README.rst b/queue_job/README.rst index 49092aee44..30ff79ca40 100644 --- a/queue_job/README.rst +++ b/queue_job/README.rst @@ -7,7 +7,7 @@ Job Queue !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:71335b8e2973a1871cf0bf504860c2af79d7d15f8c6e39d237f0c396f0b46e9f + !! source digest: sha256:2b3840c66448dd3c6257265c0ce13a92c99a2988beb57c3ba3e1297f7df35fdb !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png diff --git a/queue_job/__manifest__.py b/queue_job/__manifest__.py index e997d763c7..631cc9d26f 100644 --- a/queue_job/__manifest__.py +++ b/queue_job/__manifest__.py @@ -2,7 +2,7 @@ { "name": "Job Queue", - "version": "16.0.2.11.0", + "version": "16.0.2.11.2", "author": "Camptocamp,ACSONE SA/NV,Odoo Community Association (OCA)", "website": "https://github.com/OCA/queue", "license": "LGPL-3", diff --git a/queue_job/migrations/16.0.2.11.1/pre-migration.py b/queue_job/migrations/16.0.2.11.1/pre-migration.py new file mode 100644 index 0000000000..931c336866 --- /dev/null +++ b/queue_job/migrations/16.0.2.11.1/pre-migration.py @@ -0,0 +1,11 @@ +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html) +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + # Remove cron garbage collector + openupgrade.delete_records_safely_by_xml_id( + env, + ["queue_job.ir_cron_queue_job_garbage_collector"], + ) diff --git a/queue_job/migrations/16.0.2.9.0/pre-migration.py b/queue_job/migrations/16.0.2.9.0/pre-migration.py deleted file mode 100644 index 8dbb6ff7f1..0000000000 --- a/queue_job/migrations/16.0.2.9.0/pre-migration.py +++ /dev/null @@ -1,22 +0,0 @@ -# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html) - - -def migrate(cr, version): - # Deactivate cron garbage collector - cr.execute( - """ - UPDATE - ir_cron - SET - active=False - WHERE id IN ( - SELECT res_id - FROM - ir_model_data - WHERE - module='queue_job' - AND model='ir.cron' - AND name='ir_cron_queue_job_garbage_collector' - ); - """ - ) diff --git a/queue_job/static/description/index.html b/queue_job/static/description/index.html index 992e17f4d1..b3abf393da 100644 --- a/queue_job/static/description/index.html +++ b/queue_job/static/description/index.html @@ -367,7 +367,7 @@
This addon adds an integrated Job Queue to Odoo.