Home›Modules›OCA modules›Base

Job queue

Runs long Odoo tasks in the background, with retries, priorities and channels.

Technical name
queue_job
Author
Camptocamp,ACSONE SA/NV,Odoo Community Association (OCA)
Needs
mail, base_sparse_field, web

This module adds an integrated job queue to Odoo. Certain operations can be postponed and run in the background, each in its own transaction, while the user keeps working. Jobs are stored in the database and executed by a dedicated runner.

Jobs are split into channels with limited capacity, for instance one heavy job at a time and four light ones, and have priority, an estimated time of arrival and automatic retries. From the Job Queue menu the administrator sees pending and failed jobs with their error, and can requeue them. Modules such as the Shopify connector and DDMRP use it.

How it is used

  1. Go to Job Queue > Jobs to see the jobs and their state.
  2. Open a failed job to see the error.
  3. Use “Requeue Jobs”, “Cancel jobs” or “Set jobs to done” as appropriate.
  4. In Channels you set how many jobs of each kind run at once.

Other modules in Base