OdooWiki OCA HUB

Sale Automatic Workflow Stock Job

sale_automatic_workflow_stock_job folder_open OCA/sale-workflow open_in_new
Sales Management License: AGPL-3

This module use Queue Jobs to process stock-related workflows in sales.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Automatically validates stock transfers (deliveries) for sales orders as background jobs, so the automatic sales workflow does not slow down or block the user's screen.

This module is an automatic add-on that connects two existing features: the automatic sales workflow and the job queue. It does not add any new screen or menu of its own.

What changes in Odoo:

  • When the automatic workflow decides that a stock transfer (delivery order) linked to a sales order must be validated, that validation is now sent to the background job queue instead of being done immediately in the same action.
  • Each queued validation is registered as a job function for the method _do_validate_picking on the automatic.workflow.job model, using the existing "Sale Automatic Workflow" job channel.
  • The job carries a related action so a user can jump from the job to the related sales workflow record.
  • The job description shows the transfer name, for example "Validate transfer WH/OUT/00001", making the queue easier to read.
  • The job uses an exact identity key, which prevents the same transfer validation from being queued more than once at the same time.

Because it is marked as auto-install, it activates by itself as soon as both required modules are present. It only affects the automatic validation of stock transfers; no new fields, reports, emails or scheduled actions are added by this module.

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

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/sale-workflow.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.