diff options
Diffstat (limited to 'archaeological_warehouse/models.py')
-rw-r--r-- | archaeological_warehouse/models.py | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py index f84a2d75b..66386113b 100644 --- a/archaeological_warehouse/models.py +++ b/archaeological_warehouse/models.py @@ -320,6 +320,14 @@ class Warehouse( DOWN_MODEL_UPDATE = ["containers"] CACHED_LABELS = [] + QA_EDIT = QuickAction( + url="warehouse-qa-bulk-update", + icon_class="fa fa-pencil", + text=_("Bulk update"), + target="many", + rights=["change_warehouse", "change_own_warhouse"], + ) + QA_LOCK = QuickAction( url="warehouse-qa-lock", icon_class="fa fa-lock", @@ -327,7 +335,10 @@ class Warehouse( target="many", rights=["change_warehouse", "change_own_warehouse"], ) - QUICK_ACTIONS = [QA_LOCK] + QUICK_ACTIONS = [ + QA_LOCK, + QA_EDIT, + ] objects = UUIDModelManager() |