Exhaustive Stock Inventories
stock_inventory_exhaustive · OCA/stock-logistics-warehouse
Health
45/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 100 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
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.42 MB
Module directory on disk
Code analysis
6 migration notes
2 models
3 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
StockInventory— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (4 methods) migration-api-multi-one · sourceStockInventoryUninventoriedLocation— 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 · sourcestock_inventory_location_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · 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`) 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 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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)
-
exhaustiveBooleandefault=<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=Truestates={'draft': [('readonly', False)]}string='Exhaustive'
-
action_done(self)@api.multiAdd missing lines with qty=0 for exhaustive inventories -
confirm_missing_locations(self)@api.multiOpen wizard to confirm empty locations on exhaustive inventories -
get_missing_locations(self)@api.multiCompute 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_idsMany2many → stock.locationcolumn1='location_id'column2='wizard_id'comodel_name='stock.location'default=<expr>readonly=Truerelation='stock_inventory_uninventoried_location_rel'string='Uninventoried location'
-
confirm_uninventoried_locations(self)@api.multiAdd the missing inventory lines with qty=0 and confirm inventory