En cas de changement de chambre avec ???? rednration de bl_chbre_invalide.
darcs-hash:20041017145426-41617-e2a9f8523f4eca9362b3f82d318810617e1a58e8.gz
This commit is contained in:
parent
ca93793889
commit
5189b3c310
1 changed files with 3 additions and 1 deletions
|
@ -760,7 +760,7 @@ class base_classes_crans(crans_ldap) :
|
||||||
modif='inscription'
|
modif='inscription'
|
||||||
else :
|
else :
|
||||||
if "chbre" in self.modifs:
|
if "chbre" in self.modifs:
|
||||||
modif=filter(lambda x: x!="chbre", self.modifs)
|
modif= self.modifs.remove("chbre")
|
||||||
modif.append("chbre %s -> %s" % (self._init_data["chbre"][0],
|
modif.append("chbre %s -> %s" % (self._init_data["chbre"][0],
|
||||||
self._data["chbre"][0]))
|
self._data["chbre"][0]))
|
||||||
else:
|
else:
|
||||||
|
@ -846,6 +846,8 @@ class base_classes_crans(crans_ldap) :
|
||||||
for m in self.modifs :
|
for m in self.modifs :
|
||||||
if sre.match('blacklist_*',m) :
|
if sre.match('blacklist_*',m) :
|
||||||
serv.append(m)
|
serv.append(m)
|
||||||
|
elif m == 'chbre' and '????' in [ self._init_data.get("chbre",[])[0] , self._data.get("chbre",[])[0] ] :
|
||||||
|
serv.append('bl_chbre_invalide')
|
||||||
else :
|
else :
|
||||||
for s in annuaire_modif_service.get(m,[]) :
|
for s in annuaire_modif_service.get(m,[]) :
|
||||||
if s not in serv :
|
if s not in serv :
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue