OdooWiki OCA HUB

Auto Unreserve

stock_picking_force_assign folder_open OCA/stock-logistics-workflow open_in_new
Warehouse License: AGPL-3

This module adds the possibility to automatically unreserve currently reserved pickings in order to assign some currently unreserved picking.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Adds a "Force reservation" button on transfer forms that frees stock reserved by other waiting or ready transfers so the current one can be reserved. Only users in the new "Force availability on pickings" group see it.

When a transfer cannot be reserved because the needed products are already reserved by other transfers, this module lets a user force the reservation instead of manually unreserving those other documents first.

On the transfer form, next to the standard reserve button, a "Force reservation" button appears for members of the new "Force availability on pickings" group (administrators are added by default). The button is only shown when the transfer is in a state where availability checking makes sense.

Pressing it looks for other transfers from the same source location that hold reservations of the same products, starting with the oldest updated ones, and releases just enough of their reserved quantities to cover what the current transfer still needs. It then tries to reserve the current transfer.

Both sides are traced in the chatter: the current transfer logs which transfers were unreserved for it, and each affected transfer logs that it was unreserved to help another one.

A system setting, "allow partial" (off by default), controls what happens when there is not enough reserved stock elsewhere: if off, the action is blocked with an error naming the product and the missing quantity; if on, the action proceeds with whatever could be freed. The module only touches stock.picking and its moves.

Depends on

stock
Models and fields (1)
  • stock.picking · extends an existing model

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

Confirmed on 2026-11-03 in branch 12.0 of OCA/stock-logistics-workflow.

terminal Installation and usage

OCA documentation · Odoo 12.0

By default, the forced reservation is rolled back if the picking to reserve cannot be satisfied fully, and the user is presented with a warning message. To allow partial forced reservation, change the value of the system setting stock_picking_force_assign.allow_partial to True. This entails that no message is displayed when no assignment, or only a partial assignment was possible.

To use this module, you need to:

  • add some user to the group Force reservation on pickings
  • those users will see a button Force reservation on the picking form next to Check availability which will either unreserve pickings from the current location and assign the picking, or raise of it's not possible to unreserve enough stock.

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.