Stock Owner Restriction
This module extends the functionality of stock module to allow restriction of product quantities (quants) for stock operations such as reserve quantities or product quantity available info.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0This module lets you control, per operation type, which owner's stock can be reserved for a transfer, so you can avoid taking quantities that belong to another owner.
When products are stored with an owner (consignment or customer-owned stock), Odoo normally reserves any available quantity. This module adds an "Owner settings" option on each operation type (for example Receipts, Delivery Orders, Internal Transfers) with four choices: Standard behavior, Unassigned owner, Picking partner, and Picking partner or unassigned owner.
- Standard behavior keeps Odoo's normal reservation logic.
- Unassigned owner only reserves stock that has no owner.
- Picking partner reserves stock belonging to the partner set on the transfer.
- Picking partner or unassigned owner first tries the transfer's partner, then falls back to unowned stock if not enough is found.
The chosen setting is shown on the transfer itself and controls how quantities are reserved. The module also changes how available quantities are calculated and displayed, so the availability shown matches the owner restriction in force. On returns from a customer location, it avoids creating a negative quantity with an owner and instead reduces the original quantity. The setting is added to the operation type form and the transfer form, and a default value is applied when the module is installed.
Depends on
Required by other modules
Models and fields (5)
- stock.move · extends an existing model
- stock.quant · extends an existing model
- stock.picking · extends an existing modelowner_restriction
- product.product · extends an existing model
- stock.picking.type · extends an existing modelowner_restriction
Text generated by AI (DeepSeek) from reading the Odoo 19.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: 6 confirmed, 3 with no information of 9 versions.
Sources · Odoo 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/stock-logistics-workflow.
terminal Installation and usage
OCA documentation · Odoo 19.0Configuration
Source · Odoo 19.0To configure this module you need to:
- Make sure to select the consignment option in inventory settings by going to Inventory \> Configuration \> Settings and ticking Consignment under Traceability.
- Go to Inventory \> Configuration \> Operation Types.
- Select an operation type, or create a new one, and set Owner Restriction field to the desired value.
Developers notes
This module update the context dependency of product quantity available to be computed correctly. If you need get product quantity available for an owner yo need set the context key "force_restricted_owner_id".
Usage
Source · Odoo 19.0To use this module you need to:
To establish an owner to the merchandise you need to:
- Go to Inventory \> Overview
- Create a incoming delivery order.
- Set an owner.
The stock with owner assigned is not available in products:
- Go to Inventory \> Master Data \> Products
- Search any product which is in incoming delivery order created in previos step.
- The quantity on hand has not take into account the incoming quanities with a owner assigned.
Use cases:
- Odoo standard behavior. > In picking operation type set "Standard behavior" value in "Owner > restriction" field. > > ** All product stock is available to delivery it.
- Unassigned owner behavior. > In picking operation type set "Unassigned owner" value in "Owner > restriction" field. > > ** Only product stock without owner assigned is available to > delivery it.
- Picking partner behavior. > In picking operation type set "Picking partner" value in "Owner > restriction" field. > > Only product stock with owner assigned is available to > delivery it. > > The owner is get from picking owner field or picking partner > field.
No verified information in OCA: Installation.
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.