Fix #29622 reverse movement cancelation (#29792)

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
This commit is contained in:
Lucas Marcouiller
2024-05-31 15:25:31 +02:00
committed by GitHub
parent 66fdf21939
commit 4c1768afd5

View File

@@ -588,7 +588,7 @@ if ($action == "transfert_stock" && !$cancel) {
}
// reverse mouvement of stock
if ($action == 'confirm_reverse') {
if ($action == 'confirm_reverse' && $confirm == "yes") {
$listMouvement = array();
$toselect = array_map('intval', $toselect);