summaryrefslogtreecommitdiff
path: root/archaeological_operations
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-12-28 11:57:41 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-12-28 11:57:41 +0100
commitff69e37c4302a8a91a3f1306cc76d228863693a8 (patch)
tree2467e1bb24727648574081578250d7fe75c2d0cb /archaeological_operations
parent3a3abaf48a20b496914a2410f71654a4aea5ef29 (diff)
downloadIshtar-ff69e37c4302a8a91a3f1306cc76d228863693a8.tar.bz2
Ishtar-ff69e37c4302a8a91a3f1306cc76d228863693a8.zip
Operations: add report processing in searches
Diffstat (limited to 'archaeological_operations')
-rw-r--r--archaeological_operations/forms.py6
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()