summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
authorCefin <kevon@tuta.io>2021-11-02 16:12:39 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-07-08 09:58:49 +0200
commit17e1eb0475f063b0f2bb4a495905452255333e61 (patch)
tree96cde492a9c34b4fb30f5471803a67fb335d4b58 /archaeological_operations/forms.py
parent89e53c989847af8ea887f1ce4eafd2e885a8d927 (diff)
downloadIshtar-17e1eb0475f063b0f2bb4a495905452255333e61.tar.bz2
Ishtar-17e1eb0475f063b0f2bb4a495905452255333e61.zip
add collaborators on bulk update on OA search #5177
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r--archaeological_operations/forms.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index dea70c7b4..6f3c027a7 100644
--- a/archaeological_operations/forms.py
+++ b/archaeological_operations/forms.py
@@ -1859,6 +1859,7 @@ class QAOperationFormMulti(QAForm):
'qa_operation_type': models.OperationType,
'qa_towns': Town,
'qa_operator': Organization,
+ 'qa_collaborators': Person,
}
MULTI = True
@@ -1888,6 +1889,12 @@ class QAOperationFormMulti(QAForm):
label=_("Finds received"), required=False,
choices=QAForm.NULL_BOOL_CHOICES
)
+ qa_collaborators = forms.IntegerField(
+ label=_("Collaborators"),
+ widget=widgets.JQueryAutoComplete(
+ reverse_lazy('autocomplete-person')
+ ),
+ )
TYPES = [
FieldType('qa_operation_type', models.OperationType),