diff --git a/.oca/oca-port/blacklist/queue_job.json b/.oca/oca-port/blacklist/queue_job.json index f9a3e546c8..e05ca4951b 100644 --- a/.oca/oca-port/blacklist/queue_job.json +++ b/.oca/oca-port/blacklist/queue_job.json @@ -3,6 +3,10 @@ "OCA/queue#440": "The changes from this PR are already present in the current source code.", "OCA/queue#511": "The changes from this PR are already present in the current source code.", "OCA/queue#537": "The changes from this PR are already present in the current source code.", - "OCA/queue#728": "The changes from this PR are already present in the current source code." + "OCA/queue#728": "The changes from this PR are already present in the current source code.", + "OCA/queue#840": "Migration to 19", + "OCA/queue#913": "Port to 19", + "OCA/queue#924": "Specific to 19", + "OCA/queue#969": "Already done" } } diff --git a/queue_job/__manifest__.py b/queue_job/__manifest__.py index 41fb0bc6bf..e8edb6a12b 100644 --- a/queue_job/__manifest__.py +++ b/queue_job/__manifest__.py @@ -8,7 +8,7 @@ "license": "LGPL-3", "category": "Generic Modules", "depends": ["mail", "base_sparse_field", "web"], - "external_dependencies": {"python": ["requests"]}, + "external_dependencies": {"python": ["requests", "openupgradelib"]}, "data": [ "security/security.xml", "security/ir.model.access.csv", diff --git a/queue_job/controllers/main.py b/queue_job/controllers/main.py index 91cda8ca3b..1e587f3484 100644 --- a/queue_job/controllers/main.py +++ b/queue_job/controllers/main.py @@ -216,7 +216,8 @@ def _get_failure_values(cls, job, traceback_txt, orig_exception): ) def runjob(self, db, job_uuid, **kw): http.request.session.db = db - env = http.request.env(user=SUPERUSER_ID) + http.request.update_env(user=SUPERUSER_ID) + env = http.request.env job = self._acquire_job(env, job_uuid) if not job: return "" diff --git a/queue_job/static/description/index.html b/queue_job/static/description/index.html index 70e81392bc..80202ab5de 100644 --- a/queue_job/static/description/index.html +++ b/queue_job/static/description/index.html @@ -3,7 +3,7 @@
-