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 11:22:30 +0100
commit97bec1ff151bb1cc6c9e90b4d688391cc8213066 (patch)
tree802aa75e5c9b412588fee8152f2f6a024340fc4c
parent2faee48271951bc753908d66f6c8fcc3350613f7 (diff)
downloadIshtar-97bec1ff151bb1cc6c9e90b4d688391cc8213066.tar.bz2
Ishtar-97bec1ff151bb1cc6c9e90b4d688391cc8213066.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 1940a15cd..ca42c978d 100644
--- a/ishtar_common/forms_common.py
+++ b/ishtar_common/forms_common.py
@@ -1996,7 +1996,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,