-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
[16.0][MIG] stock_release_channel: Migration to 16.0 #493
Conversation
/ocabot migration stock_release_channel |
4b05fb5
to
4f25a4f
Compare
4f25a4f
to
415cd2c
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.
Some comments
for channel in self: | ||
domain = self._field_picking_domains()["count_picking_released"] | ||
domain += [("release_channel_id", "=", channel.id)] | ||
released = self.env["stock.picking"].search(domain) |
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.
To avoid several search DB queries, I would have put this outside the loop and then filter on the release channel
415cd2c
to
f48f458
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.
Functional test
769244b
to
bc83a5d
Compare
Same as #470 |
@lmignon can you rebase pls? |
bc83a5d
to
070037e
Compare
Organize release channels by warehouse. Ease the configuration of release channel by picking types.
When the move is not generated by a SO, also assign the release channel
The dependency on sale addon is no more required thanks to changes in OCA@e334ddc
070037e
to
160707d
Compare
@simahawk rebase done.... |
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.
LGTM
/ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 28daa54. Thanks a lot for contributing to OCA. ❤️ |
No description provided.