OdooWiki OCA HUB

Stock Inventory Exclude Sublocation

stock_inventory_exclude_sublocation folder_open OCA/stock-logistics-warehouse open_in_new
Warehouse License: AGPL-3

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.0

Adds 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

stock
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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/stock-logistics-warehouse.

terminal Installation and usage

OCA documentation · Odoo 14.0

To 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.

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.