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 | 933a9530638104eb6010cb167e8ba85731b8c9ca (patch) | |
| tree | e1a5588ebffb75b8b5f052a6053379093e38bb74 | |
| parent | 45562901b3956955d825d4b8f1914ac2e48f0463 (diff) | |
| download | Ishtar-933a9530638104eb6010cb167e8ba85731b8c9ca.tar.bz2 Ishtar-933a9530638104eb6010cb167e8ba85731b8c9ca.zip | |
Operation code is no more mandatory
| -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( | 
