[objets] Sémantique de carteEtudiant non respectée
This commit is contained in:
parent
d66c12c013
commit
e47641e756
1 changed files with 1 additions and 1 deletions
|
@ -879,7 +879,7 @@ class proprio(CransLdapObject):
|
||||||
elif config.periode_transitoire or not config.bl_carte_et_actif:
|
elif config.periode_transitoire or not config.bl_carte_et_actif:
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
return config.ann_scol in self.get('carteEtudiant', []) or self.sursis_carte()
|
return bool(self.get('carteEtudiant', [])) or self.sursis_carte()
|
||||||
|
|
||||||
# XXX - To Delete
|
# XXX - To Delete
|
||||||
def update_solde(self, diff, comment=u"", login=None):
|
def update_solde(self, diff, comment=u"", login=None):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue