diff --git a/cof_clubs/forms.py b/cof_clubs/forms.py index 83d1840e..d80204ba 100644 --- a/cof_clubs/forms.py +++ b/cof_clubs/forms.py @@ -55,6 +55,7 @@ class ClubBudgetLineCommonForm(Form): accounting_period = forms.ModelChoiceField( label="Exercice comptable", queryset=ClubBudgetAccountingPeriod.objects.filter(is_archived=False), + initial=ClubBudgetAccountingPeriod.objects.filter(is_archived=False).first(), ) label = forms.CharField(label="Libellé", max_length=1000) posted = forms.BooleanField(label="Transactions validées par la trez", initial=True)