Not increment stock if statut change fom Error => Canceled

Not increment stock if statut change fom Error => Canceled or Canceled => Error (stock should stay the same).
Add a code simplification too