Fix: problme de numrotation lorsqu'on utilisait la balise prefix
Fix: on ne permet pas la modification du prefix si on l'utilise dans la numrotation
This commit is contained in:
parent
9a16d65c48
commit
9110bd6b1a
@ -362,7 +362,6 @@ if ($_POST["getcustomercode"] || $_POST["getsuppliercode"] ||
|
||||
if ($modCodeClient->code_auto == 1)
|
||||
{
|
||||
print '<input type="hidden" name="code_client" value="-1">';
|
||||
print '<input type="hidden" name="code_auto" value="1">';
|
||||
print $langs->trans('AutomaticallyGenerated').' ';
|
||||
}
|
||||
else
|
||||
@ -386,7 +385,6 @@ if ($_POST["getcustomercode"] || $_POST["getsuppliercode"] ||
|
||||
if ($modCodeFournisseur->code_auto == 1)
|
||||
{
|
||||
print '<input type="hidden" name="code_fournisseur" value="-1">';
|
||||
print '<input type="hidden" name="code_auto" value="1">';
|
||||
print $langs->trans('AutomaticallyGenerated').' ';
|
||||
}
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user