Repository navigation
[17.0][FIX] stock_picking_group_by_partner_by_carrier: Fix backorder creation without grouping - #2598
Conversation
…on without grouping When grouping is disabled, call super() with all the corresponding pickings instead of processing them individually, as this causes issues with stock_picking_batch_extended. This is already handled in 18.0: OCA@3b4d5bd TT52372
|
I put the problem in #2001 So this is really fixing it for at least all the integration cases? This module is anyway toxic due to this IMO. |
I've reproduced the issue with stock_picking_batch_extended and confirmed that this fix solves it. I've followed the approach already implemented in 18.0 (3b4d5bd), but keeping the existing grouping logic in 17.0. This should fix integration issues caused by the serialization of the super call when grouping is disabled, but I haven't checked all the possible scenarios with grouping enabled. |
pedrobaeza
left a comment
There was a problem hiding this comment.
As the tests result is OK, and this is not modifying the behavior of the module, let's fast-track it to fix the underlying problem.
/ocabot merge patch
|
Hey, thanks for contributing! Proceeding to merge this for you. |
|
Congratulations, your PR was merged at 9c448e8. Thanks a lot for contributing to OCA. ❤️ |
When grouping is disabled, call super() with all the corresponding pickings instead of processing them individually, as this causes issues with stock_picking_batch_extended.
This is already handled in 18.0:
3b4d5bd
@Tecnativa TT52372
@victoralmau @pedrobaeza please review