Stock Location Release Channel Restriction
stock_location_release_channel_restriction · OCA/stock-logistics-warehouse
Health
60/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 6 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
2 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.1 MB
Module directory on disk
Code analysis
1 migration note
3 models
4 views
0 HTTP endpoints
Migration considerations
stock_location_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
This module allows to restrict input movements to be validated to locations that have pending output movements within another release channel.
Dependencies
- Odoo dependencies
- Python dependencies
- openupgradelib, requests
- 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 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_location_form_view |
stock.location | form | Inherits stock.view_location_form | |
stock_location_reset_release_channel_form_view |
stock.location.reset.release.channel form | stock.location.reset.release.channel | form | New |
view_location_search |
stock.location.search | stock.location | search | Inherits stock.view_location_search |
view_location_tree2 |
stock.location.tree | stock.location | tree | Inherits stock.view_location_tree2 |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (4)
-
current_release_channel_restriction_idMany2one → stock.release.channelcomodel_name='stock.release.channel'help='This is the current release channel that restrict this location for future incoming movements.'readonly=True -
parent_release_channel_restrictionSelectionhelp='This field is used to compute recursively the restriction parameter from parent hierarchy.'readonly=Truerecursive=Truerelated='location_id.release_channel_restriction'store=Truestring='Parent Location Release Channel Restriction' -
release_channel_restrictionSelectioncompute='_compute_release_channel_restriction'help="If 'same' is selected the system will prevent to put items of different release channels into the same location."recursive=Trueselection=RELEASE_RESTRICTIONstore=True -
specific_release_channel_restrictionSelectiondefault=Falsehelp='If specified the restriction specified will apply to the current location and all its children'selection=RELEASE_RESTRICTION
-
action_reset_release_channel(self) -
write(self, vals)
New fields (2)
-
location_idsMany2many → stock.locationcomodel_name='stock.location' -
reset_familyBooleanhelp='Check this in order to reset the blocking release channel on other locations from the same family.'
-
reset(self)
New fields (1)
-
has_location_destination_release_channel_restrictionBooleancompute='_compute_has_location_destination_release_channel_restriction'help='This is used to easily check if the move line has a restriction for currrent destination location on release channel.'
No public methods.