@@ -707,17 +707,6 @@ function do_stock_movement() {
...
@@ -707,17 +707,6 @@ function do_stock_movement() {
},
},
error:function(data){
error:function(data){
letcould_not_reserve_error="Failed api execute : <Fault 2: \"Could not reserve all requested products. Please use the 'Mark as Todo' button to handle the reservation manually.\">";
@@ -729,10 +718,19 @@ function do_stock_movement() {
...
@@ -729,10 +718,19 @@ function do_stock_movement() {
closeModal();
closeModal();
reset_focus();
reset_focus();
$.notify("Erreur lors de l'opération.",{
letcould_not_reserve_error="Failed api execute : <Fault 2: \"Could not reserve all requested products. Please use the 'Mark as Todo' button to handle the reservation manually.\">";