summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2025-12-04 11:22:30 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-12-04 15:29:44 +0100
commit5db0f9adf06d56621fef7fcae5a11c1e781e5442 (patch)
treeae55b3d9daa7e07850b6cf95968b1d9822defdb7
parent48683dfed81942acaa8787a4d51c3b350ada0d35 (diff)
downloadIshtar-5db0f9adf06d56621fef7fcae5a11c1e781e5442.tar.bz2
Ishtar-5db0f9adf06d56621fef7fcae5a11c1e781e5442.zip
🐛 Document form: fix displaying of warehouse form from new container form (refs #6515)
-rw-r--r--ishtar_common/forms_common.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py
index 56942fbe0..657b619e6 100644
--- a/ishtar_common/forms_common.py
+++ b/ishtar_common/forms_common.py
@@ -2050,7 +2050,8 @@ class DocumentForm(forms.ModelForm, CustomForm, ManageOldType):
form_admin_name = _("Document - 010 - General")
form_slug = "document-general"
file_upload = True
- extra_form_modals = ["author", "person", "organization", "documenttag", "container"]
+ extra_form_modals = ["author", "person", "organization", "documenttag", "container",
+ "warehouse"]
associated_models = {
"source_type": models.SourceType,
"support_type": models.SupportType,