-
-
Notifications
You must be signed in to change notification settings - Fork 724
[18.0][MIG] stock_picking_batch_set_quantity: Migration to version 18.0 #2107
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
base: 18.0
Are you sure you want to change the base?
[18.0][MIG] stock_picking_batch_set_quantity: Migration to version 18.0 #2107
Conversation
/ocabot migration stock_picking_batch_set_quantity |
1e0adba
to
c4c193c
Compare
c4c193c
to
9da2542
Compare
9da2542
to
e68e5cc
Compare
@pedrobaeza makes more sense now? |
self.ensure_one() | ||
self._action_assign() | ||
if self.quantity: | ||
self.state = "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.
This is incorrect, as you can't set state manually. In fact, the idea of the module is to assign quantities, but as I see lately, v18 already pre-assign quantities, so this module doesn't make sense for the new version. On the target version, by default, the reserved quantities wasn't set, so this button was useful for setting that quantities, but now, they are pre-set, so no need of it. Can you confirm?
cc @Tecnativa TT57680
ping @carlosdauden @pedrobaeza