Stock Available to Promise Release - Block from Sales
Block and unblock release of deliveries from sale orders.
Release of deliveries can be blocked right after the sale order confirmation.
When encoding a new order sharing the same delivery address, the user can list the existing blocked deliveries (backorders) and plan to unblock them when this new order is confirmed, making the existing deliveries and the new ones sharing the same scheduled dates and deadlines.
As a side-effect, this will leverage the module stock_picking_group_by_partner_by_carrier_by_date if this one is installed, by grouping all delivery lines within the same delivery order.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Block the release of deliveries directly from sales orders and plan when existing blocked deliveries should be unblocked when a new order is confirmed.
This module adds delivery blocking controls to sales orders. On a draft sales order, users can tick the block_release field so that the generated delivery is blocked at confirmation.
On the sales order form, two stat buttons appear: one shows available backorders that could be unblocked at confirmation, and the other shows deliveries that will be unblocked when the order is confirmed. A badge on order lines indicates when a line has a blocked delivery, and a filter "Is Release Blocked" is available in sales order line lists.
From a sales order line or a delivery move list, users can open the "Unblock Release" wizard. It offers three options: Manual (choose a date), Automatic / As soon as possible, or Based on current order. The wizard validates that the chosen date is not in the past. When "Based on current order" is used, the selected moves are linked to the order and will be unblocked automatically at confirmation, with their delivery method, shipping policy and scheduled date aligned with the new order.
A server action "Block Release" is also available on sales order lines to block their delivery moves. The module touches sale.order, sale.order.line, stock.move, stock.rule and adds the unblock.release wizard.
Models and fields (5)
- sale.order · extends an existing modelblock_release, move_to_unblock_ids (Moves To Unblock), move_to_unblock_count, available_move_to_unblock_ids (Available moves to unblock), available_move_to_unblock_count
- stock.move · extends an existing modelunblocked_by_order_id (Unblocked by order)
- stock.rule · extends an existing model
- sale.order.line · extends an existing modelis_release_blocked (Has Blocked Delivery), release_blocked_label (Release Blocked)
- unblock.release · new modeloption, move_ids (Delivery moves), order_id (Order), date_deadline, order_line_ids (Order Lines)
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-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/wms.
terminal Installation and usage
OCA documentation · Odoo 16.0Usage
Source · Odoo 16.0When the order is confirmed, the release of the generated delivery will be blocked if the option "Block Release" is enabled.
No verified information in OCA: Installation, Configuration.
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.
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.