Stock Inventory Location State
stock_inventory_location_state · OCA/stock-logistics-warehouse
Health
60/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 5 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
1 migration note
2 models
3 views
0 HTTP endpoints
Migration considerations
StockInventoryLocation— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
At inventory start, generate link to all sublocations of inventory locations. Forbid to validate an inventory if not all sublocations have been inventoried.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_countIntegercompute='_compute_location_count'string='Number of Done Sub-Locations' -
location_countIntegercompute='_compute_location_count'string='Number of Sub-Locations' -
remaining_location_countIntegercompute='_compute_location_count'string='Number of Remaining Sub-Locations' -
sub_location_idsOne2many → stock.inventory.locationcomodel_name='stock.inventory.location'inverse_name='inventory_id'string='Sub-Locations'
-
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_idMany2one → stock.inventorycomodel_name='stock.inventory'ondelete='cascade'required=True -
location_idMany2one → stock.locationcomodel_name='stock.location'required=True -
stateSelectiondefault='pending'required=Trueselection=[('pending', 'Pending'), ('started', 'Started'), ('done', 'Done')]
-
action_done(self) -
action_reopen(self) -
action_start(self) -
action_view_inventory_adjustment(self)