diff options
Diffstat (limited to 'archaeological_warehouse/models.py')
-rw-r--r-- | archaeological_warehouse/models.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py index e130671a3..97fa38c88 100644 --- a/archaeological_warehouse/models.py +++ b/archaeological_warehouse/models.py @@ -694,12 +694,16 @@ class Container(DocumentItem, Merge, LightHistorizedItem, QRCodeItem, GeoItem, ), } + QA_EDIT = QuickAction( + url="container-qa-bulk-update", icon_class="fa fa-pencil", + text=_("Bulk update"), target="many", + rights=['change_container', 'change_own_container']) QA_LOCK = QuickAction( url="container-qa-lock", icon_class="fa fa-lock", text=_("Lock/Unlock"), target="many", rights=['change_container', 'change_own_container'] ) - QUICK_ACTIONS = [QA_LOCK] + QUICK_ACTIONS = [QA_EDIT, QA_LOCK] objects = UUIDModelManager() |