diff options
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r-- | archaeological_operations/forms.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index 0cef41125..52507d748 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -594,13 +594,14 @@ class AdministrativeActOpeForm(forms.Form): signatory = forms.IntegerField(label=_("Signatory"), widget=widgets.JQueryAutoComplete(reverse_lazy('autocomplete-person'), associated_model=Person, new=True), - validators=[valid_id(Person)]) + validators=[valid_id(Person)], required=False) act_object = forms.CharField(label=_(u"Object"), max_length=200, - widget=forms.Textarea) + widget=forms.Textarea, required=False) signature_date = forms.DateField(label=_(u"Signature date"), widget=widgets.JQueryDate) if settings.COUNTRY == 'fr': - ref_sra = forms.CharField(label=u"Référence SRA", max_length=15) + ref_sra = forms.CharField(label=u"Référence SRA", max_length=15, + required=False) def __init__(self, *args, **kwargs): super(AdministrativeActOpeForm, self).__init__(*args, **kwargs) |