Repository
OCA/stock-logistics-warehouse · module folder · Try on Runboat
Module version
1.0.0
Category
Warehouse
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/stock-logistics-warehouse
Last tracking update
2026-08-11 11:13:00
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
Sébastien Alix, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
At inventory start, generate link to all sublocations of inventory
locations. Forbid to validate an inventory if not all sublocations have
been inventoried.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_inventory_group_form stock.inventory.form.inherit stock.inventory form Inherits stock_inventory.view_inventory_group_form
view_stock_inventory_location_search stock.inventory.location.search stock.inventory.location search New
view_stock_inventory_location_tree stock.inventory.location.list stock.inventory.location list New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (4)
  • done_location_count Integer
    compute='_compute_location_count' string='Number of Done Sub-Locations'
  • location_count Integer
    compute='_compute_location_count' string='Number of Sub-Locations'
  • remaining_location_count Integer
    compute='_compute_location_count' string='Number of Remaining Sub-Locations'
  • sub_location_ids One2many → stock.inventory.location
    comodel_name='stock.inventory.location' inverse_name='inventory_id' string='Sub-Locations'
Public methods (4)
  • action_open_inventory_locations(self)
  • action_state_to_done(self)
  • action_state_to_draft(self)
  • action_state_to_in_progress(self)

New fields (3)
  • inventory_id Many2one → stock.inventory
    comodel_name='stock.inventory' ondelete='cascade' required=True
  • location_id Many2one → stock.location
    comodel_name='stock.location' required=True
  • state Selection
    default='pending' required=True selection=[('pending', 'Pending'), ('started', 'Started'), ('done', 'Done')]
Public methods (4)
  • action_done(self)
  • action_reopen(self)
  • action_start(self)
  • action_view_inventory_adjustment(self)