From 72074c5bf7c140b50e45df6dc3281cf8eb3c35ef Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont Date: Mon, 13 Sep 2010 20:44:43 +0200 Subject: [PATCH] =?UTF-8?q?[ldap=5Fcrans]=20On=20pense=20au=20c=C3=A2blage?= =?UTF-8?q?=20lors=20des=20r=C3=A9adh=C3=A9sions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit darcs-hash:20100913184443-ffbb2-6a4e02143d0700088a73b4e175073fa56cd7fc80.gz --- gestion/ldap_crans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 94cd0627..c6031d80 100644 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -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] ]: 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: bat = self._data['chbre'][0][0] ch = self._data['chbre'][0][1:]