Bug a Fred

darcs-hash:20051001104207-d1718-bbb341c3d1a812e078c068e9b7726438e0140b9e.gz
This commit is contained in:
bernat 2005-10-01 12:42:07 +02:00
parent 5d9e63d6ce
commit a1f93da9b5

View file

@ -865,7 +865,7 @@ def set_admin(proprio) :
if '2\n' in result and ann_scol not in proprio.paiement(): if '2\n' in result and ann_scol not in proprio.paiement():
# On est en train de renouveller l'adhésion # On est en train de renouveller l'adhésion
# Combien a-t-il de machines ? # Combien a-t-il de machines ?
if len(proprio.machines_fixes()) > 1 and not proprio.droits(): if proprio.idn != 'cid' and len(proprio.machines_fixes()) > 1 and not proprio.droits():
# Il a plus d'une machine fixe et n'est pas membre actif # Il a plus d'une machine fixe et n'est pas membre actif
arg = u'--title "Trop de machines fixes" ' arg = u'--title "Trop de machines fixes" '
arg+= u'--menu " Cet adhérent a trop de machines fixes.\n\n' arg+= u'--menu " Cet adhérent a trop de machines fixes.\n\n'