TIP: You can type at any time to perform a new search.
Stock Location Inactive
stock_location_inactive · OCA/stock-logistics-warehouse
- 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