diff options
Diffstat (limited to 'archaeological_operations/forms.py')
| -rw-r--r-- | archaeological_operations/forms.py | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index 58bc1d3b0..3feaedfab 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -461,6 +461,8 @@ class OperationSelect(TableSelect):              associated_model=Person),          validators=[valid_id(Person)])      record_quality = forms.ChoiceField(label=_(u"Record quality")) +    report_processing = forms.ChoiceField(label=_(u"Report processing"), +                                          choices=[])      virtual_operation = forms.NullBooleanField(label=_(u"Virtual operation"))      def __init__(self, *args, **kwargs): @@ -469,6 +471,10 @@ class OperationSelect(TableSelect):              models.OperationType.get_types()          self.fields['operation_type'].help_text = \              models.OperationType.get_help() +        self.fields['report_processing'].choices = \ +            models.ReportState.get_types() +        self.fields['report_processing'].help_text = \ +            models.ReportState.get_help()          self.fields['remains'].choices = models.RemainType.get_types()          self.fields['remains'].help_text = models.RemainType.get_help()          self.fields['periods'].choices = models.Period.get_types() | 
