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
[12.0][MIG] stock_move_location #743
[12.0][MIG] stock_move_location #743
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/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. 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/
Currently translated at 100.0% (33 of 33 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/de/
Currently translated at 100.0% (33 of 33 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/de/
Currently translated at 100.0% (33 of 33 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/de/
Hey @Joansis, thank you for your Pull Request. It looks like some users haven't signed our Contributor License Agreement, yet.
Appreciation of efforts, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functional tests + Code review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functional review done!
[FIX] improvement move line generation
6836ded
to
6b6768d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review
283a668
to
d4f0ee0
Compare
This PR has the |
@Joansis Do you plan to squash commits or let like this ? |
@rousseldenis I think like this is fine. One commit is for the migration, other for an improvement, and the other one is a separate fix. |
/ocabot merge |
On my way to merge this fine PR! |
Congratulations, your PR was merged at 6ec0a5c. Thanks a lot for contributing to OCA. ❤️ |
Also improves lines creation in the wizard.
cc @eficent