OdooWiki OCA HUB

Stock location children

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

This module adds a children_ids field on stock.location in order to compute and store all the children for a stock.location and not only its first level children as is the case for child_ids.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds a "Children" button on stock location forms that lists every sub-location at any depth, not just the direct ones. Useful when you need to see the full hierarchy of a warehouse location.

This module extends the stock location screen in Odoo. On the form of a location, a new "Children" smart button appears in the top button box (only for users who have the multi-locations setting enabled). Clicking it opens the list of all sub-locations belonging to that location, including sub-locations several levels deep, not only the immediate ones.

Behind the scenes, Odoo keeps a stored list of all descendants for each location, recalculated automatically whenever the location hierarchy changes. This means the button always shows an up-to-date picture of the location tree.

  • New button: "Children" on the stock location form.
  • Opens the standard locations list filtered to the descendants of the current location.
  • Works at any depth of the location hierarchy.
  • Only visible to users with the multi-location feature enabled.

The module only touches the stock.location model and its form view; it does not change stock moves, quants, or any other warehouse process.

Depends on

stock
Models and fields (1)
  • stock.location · extends an existing modelchildren_ids

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 4 confirmed, 5 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 18.0
  • Storage Locations should have been activated in Inventory configuration.
  • Go to Inventory \> Configuration \> Warehouse Management \> Locations
  • Select a location and the click on 'Children' button.

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.