From 28b24949bd7216630ace8ba77b4840a13da2373c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 26 Jun 2023 15:38:29 +0200 Subject: 🐛 Operation form: the operation code field (Patriarche) is no longer optional MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_operations/forms.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'archaeological_operations') diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index 23edc32b3..2104938c2 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -708,8 +708,7 @@ class OperationFormGeneral(CustomForm, ManageOldType): pk = forms.IntegerField(required=False, widget=forms.HiddenInput) code_patriarche = forms.CharField(label="Code PATRIARCHE", max_length=500, - widget=OAWidget, - required=False) + widget=OAWidget) drassm_code = forms.CharField( label=_("DRASSM code"), required=False, max_length=100) operation_type = forms.ChoiceField(label=_("Operation type"), -- cgit v1.2.3