summaryrefslogtreecommitdiff
path: root/archaeological_operations/wizards.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-08-28 18:27:09 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:20 +0100
commiteb99d500e8e1d5b8be8f02ffdf8c4b505159add5 (patch)
tree5542f0dc3de02b8d9596df321eed4a1bca1254b7 /archaeological_operations/wizards.py
parent131afa027985065ecf4c97600440500884a9ef26 (diff)
downloadIshtar-eb99d500e8e1d5b8be8f02ffdf8c4b505159add5.tar.bz2
Ishtar-eb99d500e8e1d5b8be8f02ffdf8c4b505159add5.zip
Operation edit: clean potential parcel duplication
Diffstat (limited to 'archaeological_operations/wizards.py')
-rw-r--r--archaeological_operations/wizards.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/archaeological_operations/wizards.py b/archaeological_operations/wizards.py
index a37e923fb..fc5ce0bf8 100644
--- a/archaeological_operations/wizards.py
+++ b/archaeological_operations/wizards.py
@@ -277,6 +277,9 @@ class OperationWizard(Wizard):
request.POST = post_data
return super(OperationWizard, self).post(*args, **kwargs)
+ def post_save(self):
+ self.current_object.clean_parcel_duplicates()
+
class OperationModificationWizard(OperationWizard):
modification = True