Stock Location Lockdown
stock_location_lockdown · OCA/stock-logistics-warehouse
-
Security25/25No findings
-
Activity20/25Last human commit 10 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 10 Odoo series since 9.0
Heuristic over the facts below, not an audit · How it's computed
Description
The aim of this module is to provide a way to mark internal locations where product storage is disallowed. This feature is versatile and can be used in various scenarios, such as:
- Temporarily blocking stock movement to specific locations.
- Preventing stock from being stored in locations not meant for physical storage.
Indeed, in complex warehouse setups, we may have a complicated tree of internal locations with parent locations only used to create the hierarchy of the internal locations. We may want to avoid to put stock on these parent internal locations since they are not physical locations, they just represent a zone of the warehouse. Theses locations must have Location Type set to Internal Location because they belong to a warehouse (they can't be configured with Location Type set to View, cf Odoo bug #26679). With this module, you will be able to enable a new option Block stock entrance for these locations.
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_stock_location_block_entrance |
stock.location | form | Inherits stock.view_location_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
-
block_stock_entranceBooleanhelp="If this box is checked, putting stock on this location won't be allowed. Use this to temporarily block stock movements or to enforce restrictions in both physical and virtual locations."
-
write(self, values)
No new fields.
Public methods (1)-
check_location_blocked(self)@api.constrains('location_id')
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…