In this commit https://github.com/odoo/odoo/pull/121354/commits/7d1092ba0e970170ce66e77e6ddc4cab0e09563d the forward-port automatically moved the test to `stock_delivery` but the code change remained in `delivery`. Since it handles `stock.picking` on a `sale.order`, and that `delivery` does not depend on `stock` anymore, it should move to `stock_delivery` as well. closes odoo/odoo#123993 X-original-commit: d5b64650d043f94f8e244c993eff36ed26a93a32 Signed-off-by: Vallaeys Valentin (vava) <vava@odoo.com>