OdooWiki OCA HUB

Job Queue Batch

queue_job_batch folder_open OCA/queue open_in_new
Generic Modules License: AGPL-3

This addon adds an a grouper for queue jobs.

It allows to show your jobs in a batched form in order to know better the results.

Example:

In the snippet of code above, when we call button_do_stuff, 100 jobs capturing the method and arguments will be postponed. It will be executed as soon as the Jobrunner has a free bucket, which can be instantaneous if no other job is running.

Once all the jobs have finished, the grouper will be marked as finished.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Group background jobs into batches so you can follow their progress, see how many finished or failed, and get notified in the systray when a batch is done.

This module lets you group background jobs (queue jobs) into a batch, so instead of watching individual jobs you follow one batch record. Batches appear under the Job Queue menu as "Job batches", with a list and a form showing the batch name, owner, state (Pending, Enqueued, In Progress, Finished), a completeness progress bar, and a button that opens the related jobs.

  • A batch is created automatically when jobs are created with a batch in context; the batch records the user and company.
  • The batch state and counters (total jobs, finished, failed, completeness, failed percentage) are computed from the jobs it contains.
  • When a job is marked done, the batch state is recalculated in the background.
  • A systray menu shows unread batches for the current user, with a counter, progress bars, and a "Mark as Read" action; clicking a batch opens its form.
  • Security rules limit regular users to their own batches, while managers see all; a multi-company rule applies.
  • The queue.job form and search views show the batch a job belongs to, and you can filter jobs by batch.

Depends on

Menus it adds

menu_queue_job_batch
Models and fields (3)
  • queue.job · extends an existing modeljob_batch_id
  • res.users · new model
  • queue.job.batch · new modelname, state, is_read, job_ids, user_id, job_count, company_id, completeness, failed_job_count, failed_percentage, finished_job_count

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 4 confirmed, 5 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 18.0

You can manage your batch jobs from the Systray. A new button will be shown with your currently executing job batches and the recently finished job groups.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.