summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r--archaeological_operations/forms.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index f8aafb362..d10019aa8 100644
--- a/archaeological_operations/forms.py
+++ b/archaeological_operations/forms.py
@@ -396,9 +396,6 @@ class OperationFormGeneral(forms.Form):
class OperationFormModifGeneral(OperationFormGeneral):
operation_code = forms.IntegerField(label=_(u"Operation code"),
initial=models.Operation.get_available_operation_code)
- def __init__(self, *args, **kwargs):
- super(OperationFormGeneral, self).__init__(*args, **kwargs)
- self.fields['operation_code'].widget.attrs['readonly'] = True
class OperationFormPreventive(forms.Form):
form_label = _(u"Preventive informations - excavation")