modification de la boulette dans la routine
This commit is contained in:
parent
650c297250
commit
c265300548
@ -36,7 +36,7 @@ class CotisationComputes:
|
||||
@staticmethod
|
||||
def current_year():
|
||||
now = datetime.datetime.now()
|
||||
if now.year > 8:
|
||||
if now.month > 8:
|
||||
return now.year + 1
|
||||
|
||||
return now.year
|
||||
|
Loading…
Reference in New Issue
Block a user