diff --git a/README.md b/README.md index feece04ffa..f1723d7d0a 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.2 | [](https://github.com/guewen) | Job Queue +[queue_job](queue_job/) | 16.0.2.11.3 | [](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 30ff79ca40..70a6f226a5 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:2b3840c66448dd3c6257265c0ce13a92c99a2988beb57c3ba3e1297f7df35fdb + !! source digest: sha256:c150a0d1ce7847e0b7af0f868c0f2674b2530d601e8f8b259865ea5cd9d05c0b !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png diff --git a/queue_job/__manifest__.py b/queue_job/__manifest__.py index 631cc9d26f..a11068eecc 100644 --- a/queue_job/__manifest__.py +++ b/queue_job/__manifest__.py @@ -2,7 +2,7 @@ { "name": "Job Queue", - "version": "16.0.2.11.2", + "version": "16.0.2.11.3", "author": "Camptocamp,ACSONE SA/NV,Odoo Community Association (OCA)", "website": "https://github.com/OCA/queue", "license": "LGPL-3", diff --git a/queue_job/job.py b/queue_job/job.py index d452a84557..d8e50e5124 100644 --- a/queue_job/job.py +++ b/queue_job/job.py @@ -632,7 +632,7 @@ def enqueue_waiting(self): def cancel_dependent_jobs(self): sql = self._get_common_dependent_jobs_query() self.env.cr.execute(sql, (CANCELLED, self.uuid, CANCELLED, WAIT_DEPENDENCIES)) - self.env["queue.job"].invalidate_cache(["state"]) + self.env["queue.job"].invalidate_model(["state"]) def store(self): """Store the Job""" diff --git a/queue_job/static/description/index.html b/queue_job/static/description/index.html index b3abf393da..f3db6a98b1 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.