This one has worked even better :
//Modify
if ($action != 'edit' && $object->statut == 1 && $object->getSommePaiement() == 0 && $user->rights->fournisseur->facture->creer)
{
print 'trans('Modify').'';
}
↧