OdooWiki OCA HUB

Contract Queue Job

contract_queue_job folder_open OCA/contract open_in_new
Uncategorised License: AGPL-3

This addon make contract invoicing cron plan each contract in a job instead of creating all invoices in one transaction

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

When enabled, contract invoicing and contract line renewals are split into background jobs instead of being processed all at once, and a new button lets you enqueue invoice creation from the manual invoice wizard.

This module changes how recurring contract invoicing and contract line renewals are processed when there are several records at once. Instead of creating all invoices in a single transaction, each contract is planned as a separate background job.

  • A system setting named contract.queue.job controls the behaviour. It is disabled by default.
  • When the setting is on and more than one contract is being invoiced, each contract is sent to a background job on the CONTRACT_INVOICE channel.
  • When the setting is on and more than one contract line is renewed, each line is sent to a background job on the CONTRACT_LINE_RENEW channel.
  • The manual invoice creation wizard gains a new button, "Enqueue invoices creation", visible when there are contracts to invoice. It triggers the same queued invoicing process.

The module touches contract.contract, contract.line and the contract.manually.create.invoice wizard. It depends on the queue job system and on contract line successor features. No new menus are added; the change appears inside the existing manual invoice wizard and through the system setting.

Models and fields (2)
  • contract.line · extends an existing model
  • contract.manually.create.invoice · extends an existing model

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: 5 confirmed, 4 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 18.0

The feature can be enabled by setting the ir.config_parameter "contract.queue.job" to True.

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.