OdooWiki OCA HUB

Sale Automatic Workflow: Reserve Sale stock

sale_automatic_workflow_reserve_sale_stock folder_open OCA/stock-logistics-warehouse open_in_new
Sales Management License: AGPL-3

This module extends Automatic Workflows to allow make Automatic Reserves at Sale Orders.

auto_awesome What this module does

AI-generated from the code · Odoo 13.0

Lets you reserve stock automatically for draft quotations before they are confirmed, based on the settings of each automatic workflow. You choose how many days the reservation lasts and from/to which locations the stock is reserved.

This module adds stock reservation options to the automatic workflow configuration used by sales. On each workflow process you can now switch on 'Stock Reservation' and set how many days the reservation should stay valid (default 5 days), plus an optional source location and destination location for the reserved stock.

When the automatic workflow job runs, it looks for draft quotations that are marked as reservable, do not yet have a reservation, and belong to a workflow where order validation is not automatic but stock reservation is enabled. For each of those quotations it creates a stock reservation and reserves the stock of all order lines.

  • The reservation is only made if the quotation is recent enough compared with the validity period; older quotations are skipped.
  • If a validity period is set, the reservation gets an end date so it is released automatically after that many days.
  • If source or destination locations are configured, the reservation uses them; otherwise the default locations are used.

The options appear in the workflow process form, in a new 'Reserve Options' group. The module works together with the automatic workflow job and the stock reservation features for sales, and it touches the workflow process and the automatic workflow job.

Models and fields (2)
  • sale.workflow.process · extends an existing modelstock_reservation (Stock Reservation), stock_reservation_validity (Stock Reservation Validity (Days)), stock_reservation_location_id (Stock reservation Source Location), stock_reservation_location_dest_id (Stock reservation Location)
  • automatic.workflow.job · extends an existing model

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

Confirmed on 2026-11-03 in branch 13.0 of OCA/stock-logistics-warehouse.

terminal Installation and usage

OCA documentation · Odoo 13.0
  • Go to Sales > Configuration > Automatic Workflow.
  • Create or select one.
  • Make sure that Validate Order is not selected and Stock Reservation is selected.
  • Save changes.
  • Create a new Quotation.
  • Fill the lines with some Storable products.
  • Go to Automation Information.
  • Set the Automatic Workflow created previously.
  • Save the Quotation.
  • Wait since the cron is executed.

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.