diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-10-12 11:38:13 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:23:18 +0100 |
commit | 5bc393a2138befe7ad7e17565979ae571d632f45 (patch) | |
tree | dc91a1f0efc1a475345acacfa6aba384629da16c /archaeological_operations/models.py | |
parent | e9193d8d29e9b18e0d553302f3e94053021fc622 (diff) | |
download | Ishtar-5bc393a2138befe7ad7e17565979ae571d632f45.tar.bz2 Ishtar-5bc393a2138befe7ad7e17565979ae571d632f45.zip |
Geo: clean old methods - fix geodata post treatments on geo form - quick add geo action
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r-- | archaeological_operations/models.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 |