[FIX] stock_picking_batch: remove empty pickings
If a picking is totally empty (no move line with quantity recorded) in a
batch at validation. This one will be ignored by the immediate transfer
mechanism as well as the backorder creation. It is simply remove from
the batch.
closes odoo/odoo#63291
Signed-off-by:
Arnold Moyaux <amoyaux@users.noreply.github.com>
Showing
- addons/stock_picking_batch/models/stock_picking_batch.py 12 additions, 1 deletionaddons/stock_picking_batch/models/stock_picking_batch.py
- addons/stock_picking_batch/tests/test_batch_picking.py 5 additions, 16 deletionsaddons/stock_picking_batch/tests/test_batch_picking.py
- addons/stock_picking_batch/wizard/__init__.py 1 addition, 0 deletionsaddons/stock_picking_batch/wizard/__init__.py
- addons/stock_picking_batch/wizard/stock_backorder_confirmation.py 20 additions, 0 deletions...tock_picking_batch/wizard/stock_backorder_confirmation.py
Loading
Please register or sign in to comment