From f92759e71f572afe44450f4b47f86190d19f0b99 Mon Sep 17 00:00:00 2001 From: Simone Orsi Date: Thu, 17 Jul 2025 11:07:56 +0200 Subject: [PATCH 1/2] queue_job: fix references to tree views Fix Uncaught Promise > View types not defined tree found in act_window action undefined. --- queue_job/models/queue_job.py | 2 +- test_queue_job/tests/test_related_actions.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/queue_job/models/queue_job.py b/queue_job/models/queue_job.py index 98c5858203..4be3820ad6 100644 --- a/queue_job/models/queue_job.py +++ b/queue_job/models/queue_job.py @@ -486,7 +486,7 @@ def related_action_open_record(self): action.update( { "name": _("Related Records"), - "view_mode": "tree,form", + "view_mode": "list,form", "domain": [("id", "in", records.ids)], } ) diff --git a/test_queue_job/tests/test_related_actions.py b/test_queue_job/tests/test_related_actions.py index c4ad0ec3b3..7b1792f819 100644 --- a/test_queue_job/tests/test_related_actions.py +++ b/test_queue_job/tests/test_related_actions.py @@ -89,7 +89,7 @@ def test_default_several_record(self): "domain": [("id", "in", self.records.ids)], "res_model": self.record._name, "type": "ir.actions.act_window", - "view_mode": "tree,form", + "view_mode": "list,form", } self.assertEqual(job_.related_action(), expected) From 0f90c6387c61749da653af1164503a9010421297 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Thu, 17 Jul 2025 09:41:31 +0000 Subject: [PATCH 2/2] [BOT] post-merge updates --- README.md | 4 ++-- queue_job/README.rst | 2 +- queue_job/__manifest__.py | 2 +- queue_job/static/description/index.html | 2 +- test_queue_job/__manifest__.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4e4e7dcba3..6ee699bfd9 100644 --- a/README.md +++ b/README.md @@ -22,12 +22,12 @@ Available addons addon | version | maintainers | summary --- | --- | --- | --- [base_import_async](base_import_async/) | 18.0.1.0.0 | | Import CSV files in the background -[queue_job](queue_job/) | 18.0.1.7.1 | guewen | Job Queue +[queue_job](queue_job/) | 18.0.1.7.2 | guewen | Job Queue [queue_job_batch](queue_job_batch/) | 18.0.1.0.0 | | Job Queue Batch [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.0 | 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.1.0.1 | | Queue Job Tests +[test_queue_job](test_queue_job/) | 18.0.1.0.2 | | 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/queue_job/README.rst b/queue_job/README.rst index 14b0de00af..1a03778d45 100644 --- a/queue_job/README.rst +++ b/queue_job/README.rst @@ -11,7 +11,7 @@ Job Queue !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:93bf08eab226d25a64e06bcf90f0fb7f40f81ac6c18f9d902b0cd7e9be75ebef + !! source digest: sha256:1d40b76459c2a2bb768659c26ae8e531e52abf618a6f3febc027c0cf12a29bf1 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png diff --git a/queue_job/__manifest__.py b/queue_job/__manifest__.py index 1e6bee8736..478f536cda 100644 --- a/queue_job/__manifest__.py +++ b/queue_job/__manifest__.py @@ -2,7 +2,7 @@ { "name": "Job Queue", - "version": "18.0.1.7.1", + "version": "18.0.1.7.2", "author": "Camptocamp,ACSONE SA/NV,Odoo Community Association (OCA)", "website": "https://github.com/OCA/queue", "license": "LGPL-3", diff --git a/queue_job/static/description/index.html b/queue_job/static/description/index.html index 604c12febb..f1196c7d89 100644 --- a/queue_job/static/description/index.html +++ b/queue_job/static/description/index.html @@ -372,7 +372,7 @@

Job Queue

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:93bf08eab226d25a64e06bcf90f0fb7f40f81ac6c18f9d902b0cd7e9be75ebef +!! source digest: sha256:1d40b76459c2a2bb768659c26ae8e531e52abf618a6f3febc027c0cf12a29bf1 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Mature License: LGPL-3 OCA/queue Translate me on Weblate Try me on Runboat

This addon adds an integrated Job Queue to Odoo.

diff --git a/test_queue_job/__manifest__.py b/test_queue_job/__manifest__.py index fff09e64d6..89d4c931fa 100644 --- a/test_queue_job/__manifest__.py +++ b/test_queue_job/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Queue Job Tests", - "version": "18.0.1.0.1", + "version": "18.0.1.0.2", "author": "Camptocamp,Odoo Community Association (OCA)", "license": "LGPL-3", "category": "Generic Modules",