Conversation
- ir.model.access + ir.rule -> ir.access - registry.clear_cache -> transaction.invalidate_ormcache - controller: use odoo.sql_db.PG_CONCURRENCY_EXCEPTIONS_TO_RETRY (odoo.service.model was removed); env.clear() -> env.transaction.clear() - jobrunner: odoo.modules.db.list_dbs (odoo.service.db was removed) - fields: _setup_attrs -> _setup_attrs__; tools.ormcache -> api.ormcache - JS: job_direct_graph widget ported to Owl 3 (useProps, signal ref) - views: remaining_days widget -> relative_date; stat button icon - tests: odoo.http.Request -> odoo.http.requestlib.Request - lint fixes required by the 20.0 template (ruff 0.16, pylint-odoo 10) Co-authored-by: Jared Kipe <jared@hibou.io> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dhongu
force-pushed
the
20.0-mig-queue_job
branch
from
September 28, 2026 17:30
b6649a8 to
6748713
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migration of
queue_jobto Odoo 20.0.Main changes:
ir.model.access+ir.rule→ir.accessregistry.clear_cache→transaction.invalidate_ormcacheodoo.sql_db.PG_CONCURRENCY_EXCEPTIONS_TO_RETRY(odoo.service.modelwas removed);env.clear()→env.transaction.clear()odoo.modules.db.list_dbs(odoo.service.dbwas removed)_setup_attrs→_setup_attrs__;tools.ormcache→api.ormcachejob_direct_graphwidget ported to Owl 3 (useProps, signal ref)remaining_dayswidget →relative_date; stat button iconodoo.http.Request→odoo.http.requestlib.Request# noqa: DTZ005ondatetime.now()because Odoo stores naive UTC datetimesTested locally on Odoo 20.0 with PostgreSQL 16: the module installs and all 54
queue_jobtests pass.pre-commit run -ais clean.This PR also includes the work prepared by @jaredkipe in #997 (co-authored).
test_queue_joband the other addons will follow in separate PRs.🤖 Generated with Claude Code