Steps to reproduce the bug: - Create a batch transfer with several pickings - Confirm it - Delete all the pickings > save Problem: The batch does not cancel as it should’ve been A batch without transfers cannot be confirmed, so it makes no sense to leave a confirmed batch without transfers opw-2792471 closes odoo/odoo#90104 X-original-commit: dcbf08edbb3a1ec49e84f0828b8f49ac4f836c25 Signed-off-by: Steve Van Essche <svs@odoo.com> Signed-off-by: Djamel Touati (otd) <otd@odoo.com>