[19.0][MIG] stock_move_location: Migration to 19.0#2500
Open
[19.0][MIG] stock_move_location: Migration to 19.0#2500
Conversation
for further improvements
A recordset object is not reliable enough to use as a key for the built-in 'sorted' and 'itertools.groupby' functions (sometimes it works, sometimes not). Using the ID of the record (here the product ID) can fix the problem, but the 'group_lines()' has been totally rewritten for a simpler implementation without any use of 'sorted' or 'itertools.groupby' functions to group the wizard lines by product: an iteration on lines to fill a dictionary does the job.
…n to another directly from selected quants
Currently translated at 100.0% (32 of 32 strings) Translation: stock-logistics-warehouse-11.0/stock-logistics-warehouse-11.0-stock_move_location Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-11-0/stock-logistics-warehouse-11-0-stock_move_location/es/
[FIX] improvement move line generation
- The ability to start the wizard from a picking type in the inventory dasbhoard - A toggle to edit the origin and destination locations.
done inline because the same margin is defined in style files for account dashboard, however I don't want to apply the account_kanban class here as it would have more effects.
* fix tests as per latest changes * extend test as per latest changes * add little help in technical fields
* fix test as per migration * fix inconsistency in reserved quantity for planned transfers
… from stock quant view
…lines. Reassign reserved quantities for quants moved.
Currently translated at 100.0% (43 of 43 strings) Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_move_location Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_move_location/fr/
If we disable in the wizard the "Apply putaway rules" toggle we wan't to prevent those to be applied by any automatic logic. Simply injecting the avoid_putaway_rules context the core does so ignoring them. TT52561
Ensure that the picking types available for use are for internal transfers. Not change the picking type if selected before selecting an origin location of the same location default. Add the exclusion of reserved quantities as optional, to avoid trying to transfer more than really available but also maintaining the option to transfer all even the reserved. Add new field to show all the quantity of the line to see the difference of the available and reserved.
Always compute put-aways
f53337f to
3cda5b7
Compare
f9ef9a1 to
6f8f84b
Compare
6f8f84b to
fca679f
Compare
|
Hi @dreispt, the tests are failing, what are your plans to fix the errors? |
Member
Author
|
Thank you, tests need fixing though... |
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.
No description provided.