From 5bc393a2138befe7ad7e17565979ae571d632f45 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 12 Oct 2022 11:38:13 +0200 Subject: Geo: clean old methods - fix geodata post treatments on geo form - quick add geo action --- archaeological_operations/models.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'archaeological_operations') diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 045b20fed..0b21df533 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -1813,6 +1813,10 @@ class Operation( True, ), ] + actions + + can_add_geo = self.can_do(request, "add_geovectordata") + if can_add_geo: + actions.append(self.get_add_geo_action()) can_add_cr = self.can_do(request, "add_contextrecord") if can_add_cr and not is_locked: start = actions -- cgit v1.2.3