Exhaustive and hierarchical inventory adjustments
stock_inventory_hierarchical_exhaustive · OCA/stock-logistics-warehouse
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 127 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 8.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.03 MB
Module directory on disk
Code analysis
5 migration notes
2 models
2 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
GenerateInventoryWizard— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceStockInventory— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (5 methods) migration-api-multi-one · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (3 occurrences in this file) migration-openerp-import · 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
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_inventory_hierarchical_location_form_view |
hierarchical.inventory.location.form | stock.inventory | form | Inherits stock.view_inventory_form |
view_stock_generate_inventory_echaustive |
Generate Inventory: exhaustive check box | stock.generate.inventory | Inherits stock_inventory_hierarchical.view_stock_generate_inventory |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (1)
-
exhaustiveBooleandefault=Truestring='Exhaustive'
-
generate_inventory(self)@api.multiForce the value of `exhaustive`
New fields (0)
No new fields.
Public methods (4)-
confirm_missing_locations(self)@api.multiDo 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.multiDo 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.multiPropagate `exhaustive` from parent to children Use case: updating a parent inventory