TIP: You can type at any time to perform a new search.
Stock Location Lockdown
stock_location_lockdown · OCA/stock-logistics-warehouse
- Repository
- OCA/stock-logistics-warehouse · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Warehouse
- Folder size
- 0.05 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/stock-logistics-warehouse
- Last tracking update
- 2026-08-07 08:42:50
- Authors
- Akretion, Odoo Community Association (OCA)
- Maintainers
- Akretion, Odoo Community Association (OCA)
- Committers
- Weblate, OCA-git-bot, oca-ci, Celina Devigili
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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](https://github.com/odoo/odoo/issues/26679)). With this module, you will be able to enable a new option *Block stock entrance* for these locations.
Code Analysis ⓘ
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)
New fields (1)
-
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)
New fields (0)
No new fields.
Public methods (1)-
check_location_blocked(self)@api.constrains('location_id')
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 173 days ago
- Last activity
- 60 days ago
- Repository
- OCA/stock-logistics-warehouse
- Pull request
- [19.0][MIG] stock_location_lockdown: Migration to 19.0 (#2532)