summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_finds.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/models_finds.py')
-rw-r--r--archaeological_finds/models_finds.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py
index 9b134bceb..bc6f440bc 100644
--- a/archaeological_finds/models_finds.py
+++ b/archaeological_finds/models_finds.py
@@ -1399,6 +1399,11 @@ class Find(BulkUpdatedItem, ValueGetter, DocumentItem, BaseHistorizedItem,
url="find-qa-bulk-update", icon_class="fa fa-pencil",
text=_(u"Bulk update"), target="many",
rights=['change_find', 'change_own_find'])
+ QA_LOCK = QuickAction(
+ url="find-qa-lock", icon_class="fa fa-lock",
+ text=_(u"Lock/Unlock"), target="many",
+ rights=['change_find', 'change_own_find']
+ )
QUICK_ACTIONS = [
QA_EDIT,
@@ -1416,6 +1421,7 @@ class Find(BulkUpdatedItem, ValueGetter, DocumentItem, BaseHistorizedItem,
rights=['change_find', 'change_own_find'],
module='warehouse'
),
+ QA_LOCK
]
UP_MODEL_QUERY = {
"operation": (pgettext_lazy("key for text search", "operation"),