Repository
OCA/stock-logistics-warehouse · module folder · Try on Runboat
Module version
1.0.0
Category
Warehouse Management
Folder size
0.42 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, OCA-git-bot, oca-travis
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
stock_inventory_hierarchical_exhaustive
Description

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
stock_inventory_location_form_view Exhaustive inventory stock.inventory form 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 Inherits stock.view_inventory_filter
HTTP endpoints (0)

No HTTP endpoints found for this module.

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