diff options
Diffstat (limited to 'archaeological_warehouse/models.py')
| -rw-r--r-- | archaeological_warehouse/models.py | 9 | 
1 files changed, 8 insertions, 1 deletions
diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py index 364926173..d501eab1f 100644 --- a/archaeological_warehouse/models.py +++ b/archaeological_warehouse/models.py @@ -1106,6 +1106,13 @@ class Container(          target="many",          rights=["change_container", "change_own_container"],      ) +    QA_MOVE = QuickAction( +        url="container-qa-move", +        icon_class="fa fa-arrow-right", +        text=pgettext_lazy("action", "Move"), +        target="many", +        rights=["change_container", "change_own_container"], +    )      QA_LOCK = QuickAction(          url="container-qa-lock",          icon_class="fa fa-lock", @@ -1113,7 +1120,7 @@ class Container(          target="many",          rights=["change_container", "change_own_container"],      ) -    QUICK_ACTIONS = [QA_EDIT, QA_LOCK] +    QUICK_ACTIONS = [QA_EDIT, QA_MOVE, QA_LOCK]      BASE_QUERY_LOCATION = "container_tree_child__container_parent"      SERIALIZE_CALL = {  | 
