TIP: You can type at any time to perform a new search.
Stock Location Inactive
stock_location_inactive · OCA/stock-logistics-warehouse
Security findings
Migration considerations
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.float_utils` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
ReportStockMove— Class 'ReportStockMove' 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' 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 · sourceStockMove— Class 'StockMove' 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 · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/stock-logistics-warehouse · module folder · Try on Runboat
- Module version
- 0.1
- Category
- Others
- Folder size
- 0.02 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.savoirfairelinux.com
- Last tracking update
- 2026-08-07 06:56:10
- Authors
- Savoir-faire Linux
- Maintainers
- Savoir-faire Linux
- Committers
- Maxime Chambreuil, Alexandre Fayolle, EL HADJI DEM
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module allows you to check that: * a location is empty (no product) * a location has no active sub-locations before setting it as inactive. It also modify the Inventory Analysis report to hide inactive locations. Contributors ------------ * Maxime Chambreuil (maxime.chambreuil@savoirfairelinux.com) * El Hadji Dem (elhadji.dem@savoirfairelinux.com)
Code Analysis
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_stock_location_active_form |
stock.location | form | Inherits stock.view_location_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (0)
No new fields.
Public methods (1)-
init(self, cr)
New fields (0)
No new fields.
Public methods (2)-
onchange_active_field(self, cr, uid, ids, active, context=None) -
write(self, cr, uid, ids, vals, context=None)
New fields (0)
No new fields.
Public methods (1)-
action_done(self, cr, uid, ids, context=None)Override the action_done to add constraint to check if the location_dest is disable