summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-06-09 12:05:37 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:20 +0100
commit3c950402b984badbbd9bad5b4616342760f4fd90 (patch)
treed59806d5799ac74b9134183fba5a0ecf8b762d65 /archaeological_warehouse/forms.py
parent006a33f7be51d968aef0795cdf4f6f4fd1e5ba2f (diff)
downloadIshtar-3c950402b984badbbd9bad5b4616342760f4fd90.tar.bz2
Ishtar-3c950402b984badbbd9bad5b4616342760f4fd90.zip
Fix container merge
Diffstat (limited to 'archaeological_warehouse/forms.py')
-rw-r--r--archaeological_warehouse/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py
index fb345032e..cadfaaee1 100644
--- a/archaeological_warehouse/forms.py
+++ b/archaeological_warehouse/forms.py
@@ -298,7 +298,7 @@ class ContainerForm(CustomForm, ManageOldType, forms.Form):
kwargs.pop('limits')
super(ContainerForm, self).__init__(*args, **kwargs)
- def _clean_parent(self):
+ def clean_parent(self):
if not self.cleaned_data.get("parent", None):
return
warehouse_id = self.cleaned_data.get("location")