OdooWiki OCA HUB

Sale Exception Stock Prebook

sale_exception_stock_prebook folder_open OCA/sale-prebook open_in_new
Uncategorised License: AGPL-3

Glue Addon to no release reservation if sale order has exceptions

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Prevents the automatic release of stock reservations when a sales order has exceptions, so orders with problems keep their reserved stock until the issues are resolved.

This module connects two existing features: sales order exceptions and stock pre-booking. When a sales order is confirmed, the system marks the confirmation so that it can check for exceptions.

  • If the order has exceptions (for example, missing customer information or other blocking issues), the reserved stock is not released. This means the products stay reserved for that order even though it is not fully ready to proceed.
  • If there are no exceptions, the reservation is released as usual, following the normal pre-booking behaviour.

The module works automatically in the background; there are no new menus, buttons, or screens. It only changes the behaviour of the confirmation process and the reservation release step for sales orders. It affects the sale.order model and relies on the exception detection mechanism from the sale exception module.

This is useful for businesses that use pre-booking to hold stock for orders that are not yet fully validated. Without this module, confirming an order with exceptions could free up stock that was already reserved, potentially causing it to be sold to someone else. With this module, the stock remains protected until the exceptions are resolved.

Models and fields (1)
  • sale.order · 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: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/sale-prebook.

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.