Stock Inventory Exclude Sublocation
This module extends the functionality of Inventory Adjustment to allow you to exclude all the sublocations when doing an inventory adjustment for a given location.
Sometimes we just want to make an inventory adjustment of just one shelf, or space and forget about extra subdivisions in the location. In other cases we do inventories of smaller locations contained in our stock, so we don't want to count them again when doing an inventory adjustment of the parent location. E.g. if we apply a cycle count strategy.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0Adds an option on inventory adjustments to count only the selected location and ignore its sub-locations. Useful for cycle counts of a single shelf or space without re-counting smaller child locations.
When you create an inventory adjustment in Odoo, you normally pick one or more locations and Odoo includes everything stored inside them, including all their sub-locations. This module adds a checkbox called "Exclude Sublocations" right after the Locations field on the inventory adjustment form.
- The checkbox is only visible to users who have the multi-location setting enabled.
- It can only be changed while the inventory is still in draft; once the inventory is started it becomes read-only.
- When the box is ticked, the lines generated for the inventory only keep the locations you explicitly selected. Any stock found in child locations is left out of the count.
- When the box is left unticked, behaviour is exactly as before and child locations are included.
This is handy when you want to count just one shelf or one space, or when you follow a cycle-count strategy and do not want to count the smaller locations again when counting their parent. The change is limited to the inventory adjustment screen and the stock.inventory model; no new menus or reports are added.
Depends on
Models and fields (1)
- stock.inventory · extends an existing modelexclude_sublocation (Exclude Sublocations)
Text generated by AI (DeepSeek) from reading the Odoo 14.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: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/stock-logistics-warehouse.
terminal Installation and usage
OCA documentation · Odoo 14.0Usage
Source · Odoo 14.0To use this module, you simply need to:
- Create a new inventory adjustment.
- Select the option inventory of all products.
- Check the box "Exclude Sublocations".
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.