From 0f9ec8cf0772e22c83e4d61c04ba6db65451acc7 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 12 Feb 2019 11:14:49 +0100 Subject: Treatements, treatments files, containers: add quick action on sheet to add documents --- archaeological_warehouse/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_warehouse/models.py') diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py index 94fcba462..a0da12601 100644 --- a/archaeological_warehouse/models.py +++ b/archaeological_warehouse/models.py @@ -577,7 +577,7 @@ class Container(LightHistorizedItem, ImageModel, OwnPerms): extra actions for the sheet template """ # url, base_text, icon, extra_text, extra css class, is a quick action - actions = [] + actions = super(Container, self).get_extra_actions(request) can_edit_find = self.can_do(request, 'change_find') if can_edit_find: actions += [ -- cgit v1.2.3