correction erreur dans la deconnexion globale
This commit is contained in:
parent
bb2bd7c1e9
commit
b858a716ef
@ -179,7 +179,7 @@ class CotisationComputes:
|
||||
cotisations = Cotisation.cotisations_of_member(user_session, member_dn, current_year)
|
||||
#end if
|
||||
#en septembre, on ne met pas de membre en old afin que les anciens ne soient pas deconnectes
|
||||
return Room.get_by_member_dn(user_session, residence_dn, member_dn) == None or datetime.datetime.now().month != 9 or cotisations == []
|
||||
return Room.get_by_member_dn(user_session, residence_dn, member_dn) == None or (datetime.datetime.now().month != 9 and cotisations == [])
|
||||
#end def
|
||||
|
||||
@staticmethod
|
||||
|
Loading…
Reference in New Issue
Block a user