From a8a99c748ba13ef394ff9006f0e192f320c459f1 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 11 Jun 2020 15:13:09 +0200 Subject: Container: bulk update --- archaeological_warehouse/models.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'archaeological_warehouse/models.py') 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() -- cgit v1.2.3