Skip to content
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

Merged
merged 23 commits into from Nov 11, 2019

Conversation

JoanSForgeFlow
Copy link
Contributor

Also improves lines creation in the wizard.
cc @eficent

mathieuvatel and others added 20 commits November 6, 2019 09:51
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.
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/
@oca-clabot
Copy link

Hey @Joansis, thank you for your Pull Request.

It looks like some users haven't signed our Contributor License Agreement, yet.
You can read and sign our full Contributor License Agreement here: http://odoo-community.org/page/cla
Here is a list of the users:

Appreciation of efforts,
OCA CLAbot

Copy link
Contributor

@AaronHForgeFlow AaronHForgeFlow left a 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

Copy link

@NuriaXifre NuriaXifre left a 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
Copy link
Sponsor Contributor

@rousseldenis rousseldenis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review

@rousseldenis rousseldenis added this to the 12.0 milestone Nov 6, 2019
@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@rousseldenis
Copy link
Sponsor Contributor

@Joansis Do you plan to squash commits or let like this ?

@JoanSForgeFlow
Copy link
Contributor Author

@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.

@rousseldenis
Copy link
Sponsor Contributor

/ocabot merge

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 12.0-ocabot-merge-pr-743-by-rousseldenis-bump-no, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Nov 11, 2019
Signed-off-by rousseldenis
@OCA-git-bot OCA-git-bot mentioned this pull request Nov 11, 2019
54 tasks
@OCA-git-bot OCA-git-bot merged commit d4f0ee0 into OCA:12.0 Nov 11, 2019
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 6ec0a5c. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet