From 8f770e1e3e90791bf2322ff9eb7767a0f0507f0a Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 2 Nov 2021 12:04:26 +0100 Subject: Context record: bulk update - add relations --- archaeological_context_records/models.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'archaeological_context_records/models.py') diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index f620b1ff1..41a76b171 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -589,7 +589,15 @@ class ContextRecord( target="many", rights=["change_contextrecord", "change_own_contextrecord"], ) + QA_EDIT = QuickAction( + url="contextrecord-qa-bulk-update", + icon_class="fa fa-pencil", + text=_("Bulk update"), + target="many", + rights=["change_contextrecord", "change_own_contextrecord"], + ) QUICK_ACTIONS = [ + QA_EDIT, QA_LOCK, QuickAction( url="contextrecord-qa-duplicate", -- cgit v1.2.3