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

[15.0][MIG] stock_putaway_product_template: Migration to 15.0 #1448

Merged

Conversation

cesar-tecnativa
Copy link

@Tecnativa TT36572

@rousseldenis
Copy link
Contributor

/ocabot migration stock_putaway_product_template

@rousseldenis
Copy link
Contributor

@cesar-tecnativa Could you reword/rearrange your migration commit and solve tests ?

@cesar-tecnativa
Copy link
Author

@cesar-tecnativa Could you reword/rearrange your migration commit and solve tests ?

done

@cesar-tecnativa cesar-tecnativa force-pushed the 15.0-mig-stock_putaway_product_template branch 2 times, most recently from c033e47 to c0962a3 Compare July 27, 2022 20:09
Copy link
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.

@cesar-tecnativa For next time, don't forget to make version change appears in migration commit, not formatting one.

@sergio-teruel sergio-teruel force-pushed the 15.0-mig-stock_putaway_product_template branch from c0962a3 to 37b669b Compare October 26, 2022 14:25
@sergio-teruel
Copy link
Contributor

@rousseldenis Fixed change version in migration commit

):
return super(
StockLocation, self.with_context(filter_putaway_rule=True)
)._get_putaway_strategy(product, quantity, package, packaging, additional_qty)
Copy link
Member

Choose a reason for hiding this comment

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

Please use always keyword arguments when they are of that type. This ways, you keep compatibility with **kwargs form

Suggested change
)._get_putaway_strategy(product, quantity, package, packaging, additional_qty)
)._get_putaway_strategy(product, quantity=quantity, package=package, packaging=packaging, additional_qty=additional_qty)

:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--warehouse-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-warehouse/tree/14.0/stock_putaway_product_template
Copy link
Member

Choose a reason for hiding this comment

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

Please redo the README with 15.0 instead of 14.0, or let the previous one and let the bot to do the change. It's for not having double diff.

@sergio-teruel sergio-teruel force-pushed the 15.0-mig-stock_putaway_product_template branch from 37b669b to 167fd26 Compare November 8, 2022 10:46
@sergio-teruel
Copy link
Contributor

Changes done!!

@pedrobaeza
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 15.0-ocabot-merge-pr-1448-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit ae96172 into OCA:15.0 Nov 9, 2022
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at cd38537. 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.

8 participants