Skip to content
Health
75/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 10 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 10 Odoo series since 9.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis 0 migration notes 2 models 1 view 0 HTTP endpoints

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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
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_entrance Boolean
    help="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."
Public methods (1)
  • 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…

Loading…