Skip to content

[20.0] queue_job and queue_job_cron_jobrunner: migration to 20.0 - #3

Merged
alan196 merged 2 commits into
Jarsa:20.0from
Jarsa-dev:20.0-mig-queue_job_cron_jobrunner
Oct 12, 2026
Merged

alan196 merged 2 commits into
Jarsa:20.0from
Jarsa-dev:20.0-mig-queue_job_cron_jobrunner

Conversation

@alan196

@alan196 alan196 commented Oct 12, 2026

Copy link
Copy Markdown

Brings the 20.0 migrations of queue_job and queue_job_cron_jobrunner into the Jarsa fork so superlugo (Odoo.sh) can use them while the OCA PRs are reviewed.

Merge with "Rebase and merge" to keep the history linear on top of OCA. Once both OCA PRs are merged, resync the branch with OCA.

🤖 Generated with Claude Code

dhongu and others added 2 commits September 28, 2026 20:30
- 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>
- odoo.service.model was removed: use odoo.sql_db.PG_CONCURRENCY_EXCEPTIONS_TO_RETRY
  and check the exception class instead of the pgcode
- tools.ustr was removed: use str()
- lint fixes required by the 20.0 template

Assisted-by: Claude Fable 5.1
@jarsabot

Copy link
Copy Markdown
    **WARNING**: Could not link to Odoo task. Record ID not found in the title of the MR, supported formats:
{ record type }#{ number }

Available types: 'task#', 't#' (case insensitive)

Examples:

  • task#123

  • i#123

@codecov-commenter

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@alan196
alan196 merged commit aadea27 into Jarsa:20.0 Oct 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants