Repository navigation
[18.0][ADD] stock_picking_type_restrict_location - #2589
Open
JoanSForgeFlow wants to merge 1 commit into
Open
JoanSForgeFlow wants to merge 1 commit into
JoanSForgeFlow wants to merge 1 commit into
Conversation
JoanSForgeFlow
force-pushed
the
18.0-add-stock_picking_type_restrict_location
branch
2 times, most recently
from
November 26, 2026 14:59
baaae09 to
075e3e9
Compare
JoanSForgeFlow
force-pushed
the
18.0-add-stock_picking_type_restrict_location
branch
from
December 3, 2026 14:13
075e3e9 to
c0e44bb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Operation types have a default source and destination location, but the locations of a transfer can be changed freely afterwards, so a transfer can end up moving stock between locations that have nothing to do with its operation type.
This module adds a Restrict Location option on operation types (receipts, deliveries and internal transfers). On the transfers of a restricted operation type:
To keep the configuration consistent, the option cannot be enabled, and the locations of a restricted operation type cannot be changed, while transfers in progress or active rules of that operation type use other locations. The same checks run on the rules and at the end of a warehouse reconfiguration.
An Unrestricted Locations filter in the operation types list shows the ones that are not restricted.