Exhaustive and hierarchical Stock Inventories

stock_inventory_hierarchical_location
REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/7.0/stock_inventory_hierarchical_location
VERSION
VERSION 1.1
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), Numérigraphe
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Numérigraphe
COMMITTERS
COMMITTERSPedro M. Baeza, Lionel Sausin (Numérigraphe)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-warehouse:
    - stock_inventory_hierarchical
    - stock_inventory_location
odoo/odoo:
    - stock
    - product
    - base
    - process
    - web
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - account
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits stock_inventory_hierarchical.stock_inventory_hierarchical_form_view
stock_inventory_hierarchical_location_form_view hierarchical.inventory.location.form stock.inventory xpath Inherits stock.view_inventory_form
view_stock_generate_inventory Generate Inventory stock.generate.inventory form New
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