Stock Location Search Stock Quantities
stock_location_search_stock · OCA/stock-logistics-warehouse
-
Security25/25No findings
-
Activity0/25Last human commit 140 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
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
StockLocation— Class 'StockLocation' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceStockLocation— Class 'StockLocation' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 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
Stock Location Search Stock Quantities
Add search functions on Products' Real and Virtual Stock on Stock Locations.
The "Stock by Location" view that is accessed from a product shows the list of locations, each one with the Real and Virtual Stock for the product. However, there is no way to filter out the locations which doesn't contain the product so the view is cluttered with a lot of lines with a 0.0 quantity. This module adds search functions on the quantity fields.
Also, by default, a filter hides the locations without quantity at all.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_location_search |
stock.location.search | stock.location | search | Inherits stock.view_location_search |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
No new fields.
Public methods (0)No public methods.