From fa6a52c7179ea8413d5086a3526c4c5dfcaf8e43 Mon Sep 17 00:00:00 2001 From: Tom Date: Thu, 8 Jan 2026 15:57:09 +0100 Subject: [PATCH 1/3] [FIX] test_queue_job: also add an _unregister_hook function that reverts patches Otherwise monkey-patches could be added twice when instantiating new test classes. --- test_queue_job/models/test_models.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test_queue_job/models/test_models.py b/test_queue_job/models/test_models.py index 03e8e8a8f9..494512cb49 100644 --- a/test_queue_job/models/test_models.py +++ b/test_queue_job/models/test_models.py @@ -139,6 +139,13 @@ def _register_hook(self): ) return super()._register_hook() + def _unregister_hook(self): + """Remove the patches installed by _register_hook()""" + self._revert_method("delay_me") + self._revert_method("delay_me_options") + self._revert_method("delay_me_context_key") + return super()._unregister_hook() + def _job_store_values(self, job): value = "JUST_TESTING" if job.state == "failed": From f209d61fa7f7e3e4ce0b819c285a828d83f8be3c Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Wed, 21 Jan 2026 12:24:20 +0000 Subject: [PATCH 2/3] [BOT] post-merge updates --- README.md | 2 +- test_queue_job/__manifest__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index da9a0d92b4..cf18ce59c9 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ addon | version | maintainers | summary [queue_job_cron](queue_job_cron/) | 18.0.1.1.1 | | Scheduled Actions as Queue Jobs [queue_job_cron_jobrunner](queue_job_cron_jobrunner/) | 18.0.1.0.1 | ivantodorovich | Run jobs without a dedicated JobRunner [queue_job_subscribe](queue_job_subscribe/) | 18.0.1.0.0 | | Control which users are subscribed to queue job notifications -[test_queue_job](test_queue_job/) | 18.0.2.0.3 | sbidoul | Queue Job Tests +[test_queue_job](test_queue_job/) | 18.0.2.0.4 | sbidoul | Queue Job Tests [test_queue_job_batch](test_queue_job_batch/) | 18.0.1.0.0 | | Test Job Queue Batch [//]: # (end addons) diff --git a/test_queue_job/__manifest__.py b/test_queue_job/__manifest__.py index 73db3ad122..449c4c7161 100644 --- a/test_queue_job/__manifest__.py +++ b/test_queue_job/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Queue Job Tests", - "version": "18.0.2.0.3", + "version": "18.0.2.0.4", "author": "Camptocamp,Odoo Community Association (OCA)", "license": "LGPL-3", "category": "Generic Modules", From da1494bee3686ecca1de01ffab927087a65b5413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bet=C3=BCl=20=C3=96=C4=9Fmen?= Date: Wed, 21 Jan 2026 16:33:34 +0000 Subject: [PATCH 3/3] Translated using Weblate (Turkish) Currently translated at 96.7% (149 of 154 strings) Translation: queue-18.0/queue-18.0-queue_job Translate-URL: https://translation.odoo-community.org/projects/queue-18-0/queue-18-0-queue_job/tr/ --- queue_job/i18n/tr.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/queue_job/i18n/tr.po b/queue_job/i18n/tr.po index b2b41d95de..f70ee828e5 100644 --- a/queue_job/i18n/tr.po +++ b/queue_job/i18n/tr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 18.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2025-06-16 17:26+0000\n" +"PO-Revision-Date: 2026-01-21 16:51+0000\n" "Last-Translator: Betül Öğmen \n" "Language-Team: none\n" "Language: tr\n" @@ -14,7 +14,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 5.10.4\n" +"X-Generator: Weblate 5.15.2\n" #. module: queue_job #: model_terms:ir.ui.view,arch_db:queue_job.view_queue_job_form @@ -661,7 +661,7 @@ msgstr "Kuyruk İşi" #. module: queue_job #: model:ir.model,name:queue_job.model_queue_job_lock msgid "Queue Job Lock" -msgstr "" +msgstr "Kuyruk İş Kilidi" #. module: queue_job #: model:ir.model.fields,field_description:queue_job.field_queue_job__records