diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-12-31 14:56:37 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-12-31 14:56:37 +0100 |
commit | dc938b06a56ebe2f29e48e586f68361536d6d7e8 (patch) | |
tree | e1a5588ebffb75b8b5f052a6053379093e38bb74 /archaeological_operations/forms.py | |
parent | 8804ba791926199eccf06211ad87e984de8c8e90 (diff) | |
download | Ishtar-dc938b06a56ebe2f29e48e586f68361536d6d7e8.tar.bz2 Ishtar-dc938b06a56ebe2f29e48e586f68361536d6d7e8.zip |
Operation code is no more mandatory
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r-- | archaeological_operations/forms.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index 2ee6d371f..90977416b 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -774,7 +774,8 @@ class OperationFormGeneral(forms.Form): class OperationFormModifGeneral(OperationFormGeneral): - operation_code = forms.IntegerField(label=_(u"Operation code")) + operation_code = forms.IntegerField(label=_(u"Operation code"), + required=False) if FILES_AVAILABLE: currents = {'associated_file': File} associated_file = forms.IntegerField( |