-
-
Notifications
You must be signed in to change notification settings - Fork 724
[17.0][MIG] stock_move_line_qty_picked: Backport from 18.0 #2132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Christian-RB
wants to merge
19
commits into
OCA:17.0
Choose a base branch
from
BinhexTeam:17.0-mig-stock_move_line_qty_picked
base: 17.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[17.0][MIG] stock_move_line_qty_picked: Backport from 18.0 #2132
Christian-RB
wants to merge
19
commits into
OCA:17.0
from
BinhexTeam:17.0-mig-stock_move_line_qty_picked
Conversation
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
Currently translated at 100.0% (3 of 3 strings) Translation: stock-logistics-workflow-18.0/stock-logistics-workflow-18.0-stock_move_line_qty_picked Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-18-0/stock-logistics-workflow-18-0-stock_move_line_qty_picked/it/
Updating the `picked` or `qty_picked` fields directly will now sync the expected values in both fields: - `picked`: updates `qty_picked` to the full quantity if `True`, reset `qty_picked` to 0 if `False` - `qty_picked`: set `picked` to `True` if > 0, set `picked` to `False` otherwise Also, do not copy these fields by default.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: stock-logistics-workflow-18.0/stock-logistics-workflow-18.0-stock_move_line_qty_picked Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-18-0/stock-logistics-workflow-18-0-stock_move_line_qty_picked/
Currently translated at 100.0% (4 of 4 strings) Translation: stock-logistics-workflow-18.0/stock-logistics-workflow-18.0-stock_move_line_qty_picked Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-18-0/stock-logistics-workflow-18-0-stock_move_line_qty_picked/it/
In the previous version of this module the computation of stock.move.line.quantity was modified to reflect the picked quantity. However, stock.move.line.quantity must reflect the reserved quantity on the move lines since there is an inverse function that is going to increase or decrease the quantity on stock.move.line.quantity accordingly. The stock.move.quantity must only be updated to reflect the sum of stock.move.line.qty_picked when stock.move._action_done is called, to avoid the creation of a backorder.
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.
No description provided.