Exhaustive and hierarchical inventory adjustments

stock_inventory_hierarchical_exhaustive
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/8.0/stock_inventory_hierarchical_exhaustive
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), Numérigraphe
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Numérigraphe
COMMITTERS
COMMITTERSLionel Sausin, oca-travis, OCA-git-bot
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-warehouse:
    - stock_inventory_hierarchical
    - stock_inventory_exhaustive
odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - report
    - procurement
    - board
    - web_kanban_gauge
    - web_kanban_sparkline
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
stock_inventory_hierarchical_location_form_view hierarchical.inventory.location.form stock.inventory xpath Inherits stock.view_inventory_form
view_stock_generate_inventory_echaustive Generate Inventory: exhaustive check box stock.generate.inventory xpath Inherits stock_inventory_hierarchical.view_stock_generate_inventory
Models touched (2)

New fields (1)
  • exhaustive Boolean
    default=True string='Exhaustive'
Public methods (1)
  • generate_inventory(self)
    @api.multi
    Force the value of `exhaustive`

New fields (0)

No new fields.

Public methods (4)
  • confirm_missing_locations(self)
    @api.multi
    Do something only if children state are confirm or done. We could let the normal process run and fail but it's nicer to get a warning before, especially if the computation is long.
  • get_missing_locations(self)
    @api.multi
    Do not warn about locations included in sub-inventories There has already been a warning when the sub-inventories were done
  • onchange_exhaustive(self)
    @api.onchange('parent_id')
    Get the parent's value for `exhaustive` Use case: changing the parent of a sub-inventory
  • write(self, vals)
    @api.multi
    Propagate `exhaustive` from parent to children Use case: updating a parent inventory