TIP: You can type at any time to perform a new search.
Exhaustive and hierarchical Stock Inventories
stock_inventory_hierarchical_location · OCA/stock-logistics-warehouse
Security findings
Migration considerations
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
GenerateInventoryWizard— Class 'GenerateInventoryWizard' still inherits from the old-style `orm.TransientModel` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceGenerateInventoryWizard— Class 'GenerateInventoryWizard' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceGenerateInventoryWizard— Class 'GenerateInventoryWizard' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceHierarchicalExhInventory— Class 'HierarchicalExhInventory' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/stock-logistics-warehouse · module folder · Try on Runboat
- Module version
- 1.1
- Category
- Hidden
- Folder size
- 0.05 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- Yes
- Website
- None
- Last tracking update
- 2026-08-07 06:56:10
- Authors
- Odoo Community Association (OCA), Numérigraphe
- Maintainers
- Odoo Community Association (OCA), Numérigraphe
- Committers
- Pedro M. Baeza, Lionel Sausin (Numérigraphe)
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Make exhaustive Inventories aware of their Sub-Inventories. =========================================================== This module allows an inventory to contain a general Location, and it's sub-inventories to contain some of it's sub-Locations. It will prevent you from setting the Inventories and sub-Inventories in inconsistent status. This module will be installed automatically if the modules "stock_inventory_location" and "stock_inventory_hierarchical" are both installed. You must keep this module installed to ensure proper functioning.
Code Analysis
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_ihl_exhautive_form_view |
hierarchical.inventory.location.exhautive.form | stock.inventory | form | Inherits stock_inventory_hierarchical.stock_inventory_hierarchical_form_view |
stock_inventory_hierarchical_location_form_view |
hierarchical.inventory.location.form | stock.inventory | form | Inherits stock.view_inventory_form |
view_stock_generate_inventory |
Generate Inventory | stock.generate.inventory | form | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (0)
No new fields.
Public methods (1)-
generate_inventory(self, cr, uid, ids, context=None)Generate inventory and sub-inventories for specified location and level @param self: The object pointer. @param cr: A database cursor @param uid: ID of the user currently logged in @param ids: the ID or list of IDs if we want more than one @param context: A standard dictionary @return:
New fields (0)
No new fields.
Public methods (4)-
action_open(self, cr, uid, ids, context=None)Open only if all the parents are Open. -
confirm_missing_locations(self, cr, uid, ids, context=None)Do something only if children state are confirm or done. -
get_missing_locations(self, cr, uid, ids, context=None)Extend the list of inventories with their children -
onchange_location_id(self, cr, uid, ids, location_id, context=None)Check if location is a child of parent inventory location