Skip to content

Conversation

eduezerouali-tecnativa
Copy link
Contributor

@pedrobaeza
Copy link
Member

/ocabot migration stock_picking_batch_set_quantity

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Sep 19, 2025
@OCA-git-bot OCA-git-bot mentioned this pull request Sep 19, 2025
79 tasks
@eduezerouali-tecnativa eduezerouali-tecnativa force-pushed the 18.0-mig-stock_picking_batch_set_quantity branch 2 times, most recently from 1e0adba to c4c193c Compare September 19, 2025 10:13
@eduezerouali-tecnativa eduezerouali-tecnativa force-pushed the 18.0-mig-stock_picking_batch_set_quantity branch from c4c193c to 9da2542 Compare October 1, 2025 11:01
@eduezerouali-tecnativa eduezerouali-tecnativa force-pushed the 18.0-mig-stock_picking_batch_set_quantity branch from 9da2542 to e68e5cc Compare October 1, 2025 11:03
@eduezerouali-tecnativa
Copy link
Contributor Author

@pedrobaeza makes more sense now?

self.ensure_one()
self._action_assign()
if self.quantity:
self.state = "done"
Copy link
Member

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?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants