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
commitdcd1225cef0fc3e573a11cec651e16f2b35b83cf (patch)
tree5542f0dc3de02b8d9596df321eed4a1bca1254b7 /archaeological_operations/wizards.py
parentadc9f5065ab78c7694c696e6eb4ed037cf73ad74 (diff)
downloadIshtar-dcd1225cef0fc3e573a11cec651e16f2b35b83cf.tar.bz2
Ishtar-dcd1225cef0fc3e573a11cec651e16f2b35b83cf.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