Add methods to be used by other modules. This is not a functional module.
auto_awesome What this module does
AI-generated from the code · Odoo 17.0This is a technical helper module with no screens or menus. It adds two reusable methods to stock locations so other stock modules can check parent/child location relationships and find a source location from a route.
This module does not add any button, menu, report or setting that a user can see. It is a hidden technical module whose purpose is to provide shared logic for other stock modules.
What it adds to Odoo:
- A way to check whether one stock location is inside another one (or is the same location). For example, a shelf location can be tested against a warehouse location to know if it belongs to it. The check can require that at least one of the compared locations matches, or that all of them match.
- A way to find the source location that a route would use for a given procurement method. Starting from a location, it looks up the applicable rule; if the rule matches the requested procurement method, the rule's source location is returned. Otherwise it moves up to that rule's source location and repeats until a match is found or no rule exists.
These methods only extend the stock.location model. They do not change any existing behaviour on their own; they become active only when another module calls them. No data, views, security rules or scheduled actions are added by this module.
Depends on
Models and fields (1)
- stock.location · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 17.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: 5 confirmed, 4 with no information of 9 versions.
Sources · Odoo 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/stock-logistics-warehouse.
terminal Installation and usage
No verified informationInstallation 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.