[ldap_crans] On pense au câblage lors des réadhésions

darcs-hash:20100913184443-ffbb2-6a4e02143d0700088a73b4e175073fa56cd7fc80.gz
This commit is contained in:
Nicolas Dandrimont 2010-09-13 20:44:43 +02:00
parent d5bfd8d004
commit 72074c5bf7

View file

@ -1751,7 +1751,7 @@ class BaseProprietaire(BaseClasseCrans):
if 'chbre' in self.modifs and '????' in [ self._init_data.get("chbre", [''])[0] , self._init_data.get("chbre", [''])[0] ]: if 'chbre' in self.modifs and '????' in [ self._init_data.get("chbre", [''])[0] , self._init_data.get("chbre", [''])[0] ]:
self.services_to_restart('bl_chbre_invalide') self.services_to_restart('bl_chbre_invalide')
if 'chbre' in self.modifs and self._data['chbre'][0] not in ("????", "EXT"): if ('chbre' in self.modifs or 'paiement' in self.modifs) and self._data['chbre'][0] not in ("????", "EXT"):
while True: while True:
bat = self._data['chbre'][0][0] bat = self._data['chbre'][0][0]
ch = self._data['chbre'][0][1:] ch = self._data['chbre'][0][1:]