on met une ip a toutes les machines lors de la transformation radin->payant
darcs-hash:20081006221938-af139-5240417216a48c2f37269d20dc1246187bf6cf5b.gz
This commit is contained in:
parent
af558fc447
commit
71f4ee3d0a
1 changed files with 5 additions and 1 deletions
|
@ -1592,7 +1592,11 @@ def modif_adher(adher):
|
||||||
elif res[0] == 'Charte des MA' :
|
elif res[0] == 'Charte des MA' :
|
||||||
set_charte_MA(adher)
|
set_charte_MA(adher)
|
||||||
elif res[0] == 'Connexion':
|
elif res[0] == 'Connexion':
|
||||||
adher.adherentPayant(dlg.yesno(u"Passer à un compte payant ?") == 0)
|
if dlg.yesno(u"Passer à un compte payant ?") == 0:
|
||||||
|
# On attribue une ip à toute les machines
|
||||||
|
for m in adher.machines():
|
||||||
|
m.ip("<automatique>")
|
||||||
|
adher.adherentPayant(True)
|
||||||
elif res[0] == 'Adresse' or res[0] == 'Chambre':
|
elif res[0] == 'Adresse' or res[0] == 'Chambre':
|
||||||
arg = u'--title "Déménagement de %s" ' % adher.Nom()
|
arg = u'--title "Déménagement de %s" ' % adher.Nom()
|
||||||
arg += u'--menu "Question :" 0 0 0 '
|
arg += u'--menu "Question :" 0 0 0 '
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue