OdooWiki OCA HUB

Stock Force Assign by type

stock_force_assign_by_type folder_open OCA/stock-logistics-workflow open_in_new
Uncategorised License: AGPL-3

This module provides additional functionality for stock allocation management in Odoo, allowing you to force stock reservation based on the type of picking operation.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Adds a checkbox on operation types to force stock reservation for all transfers of that type, so products are automatically reserved instead of being left unreserved.

This module lets you decide, per operation type, whether Odoo must always try to reserve stock for the transfers of that type.

  • On the operation type configuration screen (the same screen where you set up delivery orders, receipts or internal transfers) a new checkbox "Force reservation" appears. When you tick it, stock is automatically reserved for all operations of that type.
  • On individual transfers, the form shows the reservation status coming from the operation type, and the "Unreserve" button and the forecast availability column are shown or hidden depending on whether the operation type forces reservation and on the transfer direction and state.
  • Technically, the module touches stock.picking.type, stock.picking and stock.move. The reservation bypass logic of stock moves is changed so that, when the operation type forces reservation, the system no longer skips reservation.

No new menus, reports, emails or scheduled jobs are added. The change is limited to configuration and to the reservation behaviour of transfers.

Depends on

stock
Models and fields (2)
  • stock.picking · extends an existing modelpicking_type_force_reservation
  • stock.picking.type · extends an existing modelforce_reservation

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

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

terminal Installation and usage

OCA documentation · Odoo 15.0

Picking operation type configuration:

  • Go to Inventory -> Configuration -> Picking operation types.
  • Create or edit the picking operation type you want to configure for forced stock reservation.
  • Check the "Force reservation" checkbox if you want to make stock reservation mandatory for this type of picking operation.

Effects of activating "Force reservation":

  • Ensures that certain types of picking operations always reserve stock automatically.
  • Makes related fields visible on picking forms to indicate if the stock reservation has been force reserved.
  • Makes buttons visible on picking forms to allow cancellation and reallocation of stock reservation, providing greater flexibility in stock management.

How to use this module:

  • Create purchase or sales orders as required in the relevant application ( Purchase or Sales).
  • When you confirm an order, the system will make the stock reservation in the corresponding warehouse according to the reservation configuration in the associated picking operation type.
  • If necessary, you can use the buttons on the picking forms to cancel or reallocate the stock reservation.

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.