OdooWiki OCA HUB

Enqueue account invoice validation

account_invoice_validation_queued folder_open OCA/account-invoicing open_in_new
Accounting License: AGPL-3

This module allows to enqueue in several jobs the account validation process to be executed in paralell on background, which is normally done serially and on foreground.

Each invoice creates a job for performing the validation.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Lets you validate (post) several draft invoices in the background as separate jobs instead of waiting for them one by one, and follow each job's status from the invoice form.

Normally, confirming several invoices happens one after the other while you wait. This module adds an alternative: from the invoice validation wizard you get a new button, "Enqueue Validation", which sends each selected draft invoice to the background job queue instead of posting it immediately.

  • Only draft invoices are taken; they are sorted by date, reference and number before being queued.
  • Each invoice creates its own job, so several invoices can be processed in parallel in the background.
  • On the invoice form, a new "Validation Jobs" tab (visible only to queue job managers) lists the related jobs with their creation date, completion date and status.
  • From that list you can "Requeue" a job that failed, or "Cancel" a job that is still pending or enqueued.

The module touches account.move (invoices) and the validate.account.move wizard, and relies on the job queue system with a dedicated channel named "Invoice Open Job". It does not change the standard validation button, which still posts invoices immediately.

Depends on

accountqueue_job
Models and fields (2)
  • account.move · extends an existing modelvalidation_job_ids (Validation Jobs)
  • validate.account.move · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 16.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.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/account-invoicing.

terminal Installation and usage

OCA documentation · Odoo 16.0
  • Jobs are enqueued in the channel root.account_invoice_validation_queued, so you must adjust your Odoo configuration according this.
  • If you want to see queued jobs, you need "Job Queue / Job Queue Manager" permission in your user.
  • Configure your invoice/refund sequences as "Standard" instead of "No gap", or you'll have concurrent updates problems.
  • Go to Invoicing > Customers > Invoices or Invoicing > Vendors > Bills.
  • Mark at least one check on the left part of one draft invoice in the list view.
  • Click on Action > Post entries.
  • On the dialog popup that appears, click on "Enqueue Validation".
  • Once enqueued, and having the "Job Queue Manager" permission, you can go to the invoice, and see the tab "Validation Jobs". A list with all the jobs related to that invoice can be found there.

No verified information in OCA: Installation.

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.