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 IDNameModelTypeStatus
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