[16.0][IMP] stock_full_location_reservation: Introduce a strict mode#1193
Open
lmignon wants to merge 5 commits into
Open
[16.0][IMP] stock_full_location_reservation: Introduce a strict mode#1193lmignon wants to merge 5 commits into
lmignon wants to merge 5 commits into
Conversation
Contributor
|
Hi @mt-software-de, |
Author
|
ping @jbaudoux @rousseldenis |
b9e87ca to
51c8ec6
Compare
As in some flows we need to limit the full reservation to the move line characteristics (lot, package, owner), add a strict mode that will use the Odoo core mechanism to gather the needed quant(ities)
Replace the 'strict' and 'package_only' parameters with a new reservation_mode parameter that can be set to "strict", "package" . The default behavior is the same as before but it ensures that the reservation mode is unique and can be extended in the future with new modes.
51c8ec6 to
9b0d8df
Compare
…uct" Added a new reservation_mode "product" to the stock_full_location_reservation module. This mode allows for reserving all the same product at location, regardless of the package or lot.
9b0d8df to
4d2d5b9
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.
As in some flows we need to limit the full reservation to the move line characteristics (lot, package, owner), add a strict mode that will use the Odoo core mechanism to gather the needed quant(ities).
Recover work from mt-software-de#6