diff --git a/htdocs/product/stock/tpl/stockcorrection.tpl.php b/htdocs/product/stock/tpl/stockcorrection.tpl.php index d6c603332b52a159070095ab785207b429f762a1..3cb8ba47298b60f6550414ace7d835c35eef7737 100644 --- a/htdocs/product/stock/tpl/stockcorrection.tpl.php +++ b/htdocs/product/stock/tpl/stockcorrection.tpl.php @@ -67,7 +67,7 @@ $langs->load("productbatch"); print '<td width="20%">'; print '<select name="mouvement" id="mouvement" class="flat">'; print '<option value="0">'.$langs->trans("Add").'</option>'; - print '<option value="1">'.$langs->trans("Delete").'</option>'; + print '<option value="1"'.(GETPOST('mouvement')?' selected="selected"':'').'>'.$langs->trans("Delete").'</option>'; print '</select></td>'; print '<td width="20%" class="fieldrequired">'.$langs->trans("NumberOfUnit").'</td><td width="20%"><input class="flat" name="nbpiece" id="nbpiece" size="10" value="'.GETPOST("nbpiece").'"></td>'; print '</tr>';