From 0bab42c43d4123f2b54ecb2f6040f289ca3875e4 Mon Sep 17 00:00:00 2001 From: Anderson Oliveira Date: Fri, 28 Aug 2026 20:37:29 -0300 Subject: [PATCH] [19.0][FIX] queue_job: remove deprecated base.user_admin reference base.user_admin was removed in Odoo 17+ (replaced by base.group_system + admin user via separate ). It is not available as a public xmlid in Odoo 17/18/19, causing -u queue_job to fail with: ValueError: External ID not found in the system: base.user_admin while evaluating "[Command.link(ref('base.user_root')), Command.link(ref('base.user_admin'))]" Drop the second Command.link. Users (including admins) can still be added to the group via backoffice (Settings > Users & Companies) or via xmlid override in a downstream module. Refs: - neoand/verbum fork where this caused deploy blocks (2026-08-28) - OCA/queue#pending --- queue_job/__manifest__.py | 2 +- queue_job/readme/HISTORY.md | 9 +++++++++ queue_job/security/security.xml | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/queue_job/__manifest__.py b/queue_job/__manifest__.py index a9e967e3ea..e7553ff523 100644 --- a/queue_job/__manifest__.py +++ b/queue_job/__manifest__.py @@ -2,7 +2,7 @@ { "name": "Job Queue", - "version": "19.0.2.1.0", + "version": "19.0.2.0.4", "author": "Camptocamp,ACSONE SA/NV,Odoo Community Association (OCA)", "website": "https://github.com/OCA/queue", "license": "LGPL-3", diff --git a/queue_job/readme/HISTORY.md b/queue_job/readme/HISTORY.md index e1f251392a..ded25f3440 100644 --- a/queue_job/readme/HISTORY.md +++ b/queue_job/readme/HISTORY.md @@ -1,3 +1,12 @@ + +## 19.0.2.0.4 (2026-08-28) + +- [FIX] Remove reference to base.user_admin (removed in Odoo 17+) + causing -u queue_job to fail on Odoo 17/18/19. + The xmlid base.user_admin was removed in Odoo 17; users should be + added to the group via backoffice instead. + Backport from verbum_core fork (neoand/verbum#commit pending). + ## Next - \[ADD\] Run jobrunner as a worker process instead of a thread in the diff --git a/queue_job/security/security.xml b/queue_job/security/security.xml index 740226988e..8128454981 100644 --- a/queue_job/security/security.xml +++ b/queue_job/security/security.xml @@ -14,7 +14,7 @@