From fffbad69c962bea546d8193b922b472c886c4023 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 26 Mar 2021 15:12:31 +0100 Subject: Operation - Context records: Surface int -> float --- archaeological_operations/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_operations/forms.py') diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index 12011ef28..bd237488d 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -831,7 +831,7 @@ class OperationFormGeneral(CustomForm, ManageOldType): limit={'person_types': [person_type_pk_lazy('sra_agent')]}, new=True), validators=[valid_id(Person)], required=False) - surface = forms.IntegerField( + surface = forms.FloatField( required=False, widget=widgets.AreaWidget, label=_("Total surface (m2)"), validators=[validators.MinValueValidator(0), -- cgit v1.2.3