Commit 49b9ab4c by François C.

Update forms.py

parent 888a3e23
Pipeline #1946 passed with stage
in 1 minute 28 seconds
......@@ -9,7 +9,7 @@ class OdooEntityFieldsForm(forms.Form):
class ExportComptaForm(forms.Form):
mois = forms.DateField(
required=True,
widget=MonthYearWidget()
widget=MonthYearWidget(years=range(datetime.date.today().year-2,datetime.date.today().year+1))
)
#fichier = forms.FileField()
# CHOICES = [('zip', '1 fichier par journal'),('compact', '1 seul fichier')]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment