diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-06-26 15:38:29 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-06-26 15:39:01 +0200 |
commit | 28b24949bd7216630ace8ba77b4840a13da2373c (patch) | |
tree | d07b853ab8de0ba5948b7318fa2b0fd9f65fc71f /archaeological_operations | |
parent | cc9250d23c18573ca6dee177d7aebbdf330114a6 (diff) | |
download | Ishtar-28b24949bd7216630ace8ba77b4840a13da2373c.tar.bz2 Ishtar-28b24949bd7216630ace8ba77b4840a13da2373c.zip |
🐛 Operation form: the operation code field (Patriarche) is no longer optional
Diffstat (limited to 'archaeological_operations')
-rw-r--r-- | archaeological_operations/forms.py | 3 |
1 files changed, 1 insertions, 2 deletions
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"), |