Stock Picking Location Check
This module intends to ensure the consistency between the picking and its stock move lines at the time of validation.
Here 'consistency' means being in the state where all the locations in stock move lines are the same as or under that of the corresponding location in the picking.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0This module blocks validating a transfer when the source or destination locations of its detailed move lines do not match (or sit under) the locations set on the transfer itself. A checkbox on the transfer form lets users bypass this check when needed.
When a warehouse user validates a transfer (a stock.picking), Odoo normally accepts any location on the individual move lines. This module adds a consistency check at validation time: every move line's source location must be the same as, or a child of, the transfer's source location, and the same rule applies to destination locations.
If a line location is outside that hierarchy, validation is stopped with an error message naming the transfer, so the user must correct the locations first.
A new checkbox "allow_location_inconsistency" appears on the transfer form, next to the source location field, for users who have the multi-locations setting enabled. It is read-only once the transfer is done or cancelled. When ticked, the consistency check is skipped for that transfer.
Some technical details: lines belonging to subcontracting moves are ignored in the source-location check, and for transfers that are not immediate, only lines with a done quantity greater than zero are considered for the destination check.
The module only touches the transfer model stock.picking and its form view; it does not add menus, reports or scheduled actions.
Depends on
Models and fields (1)
- stock.picking · extends an existing modelallow_location_inconsistency
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/stock-logistics-warehouse.
terminal Installation and usage
OCA documentation · Odoo 16.0Usage
Source · Odoo 16.0An error should be displayed when validating a picking in case any of the locations involved in the move lines is not part of the corresponding location in the picking.
Selecting 'Allow Location Inconsistency' lets users bypass this error.
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.