Exhaustive Stock Inventories

stock_inventory_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_exhaustive
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Numérigraphe
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Numérigraphe
COMMITTERS
COMMITTERSAlexandre Fayolle, Lionel Sausin, oca-travis, OCA-git-bot
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES 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 (3)
XML IDNameModelTypeStatus
stock_inventory_location_form_view Exhaustive inventory stock.inventory xpath Inherits stock.view_inventory_form
view_confirm_uninventoried_location stock.inventory.uninventoried.locations.form stock.inventory.uninventoried.locations form New
view_inventory_complete_filter Exhaustive inventory : add filter for complete or partial inventory stock.inventory xpath Inherits stock.view_inventory_filter
Models touched (2)

New fields (1)
  • exhaustive Boolean
    default=<expr> help="Check the box if you are conducting an exhaustive Inventory.\nLeave the box unchecked if you are conducting a standard Inventory (partial inventory for example).\nFor an exhaustive Inventory:\n - if some of the Inventory's Locations have not been entered in the Inventory Lines, Odoo warns you when you confirm the Inventory\n - every good that is not in the Inventory Lines is considered lost, and gets moved out of the stock when you confirm the Inventory" readonly=True states={'draft': [('readonly', False)]} string='Exhaustive'
Public methods (3)
  • action_done(self)
    @api.multi
    Add missing lines with qty=0 for exhaustive inventories
  • confirm_missing_locations(self)
    @api.multi
    Open wizard to confirm empty locations on exhaustive inventories
  • get_missing_locations(self)
    @api.multi
    Compute the list of location_ids which are missing from the lines Here, "missing" means the location is the inventory's location or one of it's children, and the inventory does not contain any line with this location.

New fields (1)
  • location_ids Many2many → stock.location
    column1='location_id' column2='wizard_id' comodel_name='stock.location' default=<expr> readonly=True relation='stock_inventory_uninventoried_location_rel' string='Uninventoried location'
Public methods (1)
  • confirm_uninventoried_locations(self)
    @api.multi
    Add the missing inventory lines with qty=0 and confirm inventory