FIX If we can change vendor status, we must be able to chane vendor code
This commit is contained in:
parent
9f9002d6a6
commit
02a96e163f
@ -1903,8 +1903,6 @@ else
|
||||
print $form->editfieldkey('SupplierCode', 'supplier_code', '', $object, 0);
|
||||
}
|
||||
print '</td><td>';
|
||||
if (!empty($conf->fournisseur->enabled) && !empty($user->rights->fournisseur->lire))
|
||||
{
|
||||
print '<table class="nobordernopadding"><tr><td>';
|
||||
if ((!$object->code_fournisseur || $object->code_fournisseur == -1) && $modCodeFournisseur->code_auto)
|
||||
{
|
||||
@ -1926,7 +1924,6 @@ else
|
||||
$s = $modCodeFournisseur->getToolTip($langs, $object, 1);
|
||||
print $form->textwithpicto('', $s, 1);
|
||||
print '</td></tr></table>';
|
||||
}
|
||||
print '</td></tr>';
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user