TIP: You can type at any time to perform a new search.
Hierarchical Inventory adjustments
stock_inventory_hierarchical · OCA/stock-logistics-warehouse
- Repository
- OCA/stock-logistics-warehouse · module folder · Try on Runboat
- Module version
- 2.0.0
- Category
- Warehouse Management
- Folder size
- 1.02 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-08-07 07:03:05
- Authors
- Odoo Community Association (OCA), Numérigraphe
- Maintainers
- Odoo Community Association (OCA), Numérigraphe
- Committers
- Lionel Sausin, Alexandre Fayolle, Stéphane Bidoul (ACSONE), Weblate, OCA Transbot, Lionel Sausin (Numérigraphe), OCA-git-bot, oca-travis
Code Analysis ⓘ
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_inventory_hierarchical_form_view |
hierarchical.inventory.form | stock.inventory | form | Inherits stock.view_inventory_form |
stock_inventory_hierarchical_tree_view |
hierarchical.inventory.tree | stock.inventory | tree | Inherits stock.view_inventory_tree |
view_inventory_subinventories_filter |
hierarchical.inventory.filter | stock.inventory | Inherits stock.view_inventory_filter | |
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 (4)
-
levelIntegerdefault=3help='Maximum number of intermediate sub-inventories between the main inventory and the smallest sub-inventory.'string='Level' -
location_idMany2one → stock.locationcomodel_name='stock.location'default=<expr>required=Truestring='Location' -
only_viewBooleandefault=Truehelp='If set, only inventory on view location can be created'string='Only view' -
prefix_inv_nameCharhelp='Optional prefix for all created inventory'string='Inventory prefix'
-
generate_inventory(self)@api.multiGenerate inventory and sub-inventories for specified location/level
New fields (6)
-
complete_nameCharcompute='_complete_name'string='Complete reference' -
inventory_idsOne2many → stock.inventorycomodel_name='stock.inventory'inverse_name='parent_id'readonly=Truestates={'draft': [('readonly', False)]}string='List of Sub-inventories' -
parent_idMany2one → stock.inventorycomodel_name='stock.inventory'ondelete='cascade'readonly=Truestates={'draft': [('readonly', False)]}string='Parent Inventory' -
parent_leftIntegerindex=True args: 'Parent Left' -
parent_rightIntegerindex=True args: 'Parent Right' -
progress_rateFloatcompute='_progress_rate'string='Progress'
-
action_cancel_inventory(self)@api.multiCancel all children inventories -
name_get(self)@api.multiShow the parent inventory's name in the name of the children :param dict context: the ``inventory_display`` key can be used to select the short version of the inventory name (without the direct parent), when set to ``'short'``. The default is the long version. -
prepare_inventory(self)@api.multiPrepare inventory and all the children The standard method for this is not modular, and directly records all the inventory lines. We cannot afford to waste the computation time needed to insert these lines (it can take tens of minutes on very large warehouses), just to ignore or delete them for the mere reason that they should be in sub-inventories. So instead, we'll prepare all the sub-inventories at the same time.
Loading…