OdooWiki OCA HUB

Sale Stock Picking Validation Blocking

sale_stock_picking_validation_blocking folder_open OCA/sale-workflow open_in_new
Uncategorised License: AGPL-3

This module adds the opportunity to prevent the validation of linked delivery orders from a sale order. The delivery order is still created when the sale order is confirmed, therefore the stock is reserved but can not be send until approval.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Sales managers can block the validation of delivery orders created from a sale order, so goods stay reserved but cannot be shipped until they unblock it.

This module lets sales managers put a hold on the delivery step of a sale order. On the sale order form, in the shipping section, a "Delivery Validation Blocked" flag is shown. Two buttons appear for users in the Sales Manager group: "Block Delivery Validation" and "Unblock Delivery Validation". They are only shown when the sale order is confirmed, has at least one delivery, and the user is a sales manager.

When the block is active, every related delivery order (stock.picking) carries the flag "Validation Blocked by SO". On the delivery order form, a red warning banner tells the warehouse user that validation is prevented by the linked sale order. If someone tries to validate the delivery anyway, Odoo raises an error and refuses the validation.

The block is stored on the sale order and automatically copied to its deliveries, so it stays in place until a sales manager unblocks it. The flag is also tracked in the chatter, giving a history of when it was set or removed.

Depends on

sale_stock
Models and fields (2)
  • sale.order · extends an existing modelpicking_validation_blocked (Delivery Validation Blocked), hide_button_picking_validation_blocked (Display the picking validation buttons)
  • stock.picking · extends an existing modelvalidation_blocked_by_so (Validation Blocked by SO)

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: 3 confirmed, 6 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

OCA documentation · Odoo 18.0

To block validation of stock picking from sale orders, you need to:

  • Open the form view of a sale order (in status Sale Order or Locked).
  • Click on the button Block Delivery Validation.
  • The delivery validation is now blocked, the Validate button will not appear on the related pickings.

To unblock validation of stock picking from sale orders, you need to:

  • Open the form view of a "delivery validation blocked" sale order (in status Sale Order or Locked).
  • Click on the button Unblock Delivery Validation.
  • The delivery validation is not blocked anymore, the Validate button will appear on the related pickings.

No verified information in OCA: Installation, Configuration.

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.