diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-25 12:06:36 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:25 +0100 |
commit | 70a69dcea0bb92ef346c51da42122bf0f883dac9 (patch) | |
tree | 52779d05a64ead1ca6a9882cda58f9dd767a50cc /archaeological_finds | |
parent | 3dbeac686f1519ed8b9a961202b7ec2264591af9 (diff) | |
download | Ishtar-70a69dcea0bb92ef346c51da42122bf0f883dac9.tar.bz2 Ishtar-70a69dcea0bb92ef346c51da42122bf0f883dac9.zip |
Generic extra forms modals for all pages (refs #5052)
Diffstat (limited to 'archaeological_finds')
-rw-r--r-- | archaeological_finds/forms.py | 2 | ||||
-rw-r--r-- | archaeological_finds/forms_treatments.py | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py index dad663624..099623f33 100644 --- a/archaeological_finds/forms.py +++ b/archaeological_finds/forms.py @@ -296,7 +296,6 @@ class FindForm(BasicFindForm): file_upload = True form_label = _("Find") form_admin_name = _("Find - 020 - General") - extra_form_modals = ["warehouse"] form_slug = "find-020-general" base_models = ['get_first_base_find'] + BasicFindForm.base_models associated_models = BasicFindForm.associated_models.copy() @@ -1363,7 +1362,6 @@ class FindFormSelectionWarehouseModule(FindFormSelection): gallery=True, map=True, source_full=reverse_lazy('get-find-full')), validators=[valid_id(models.Find)]) - extra_form_modals = ["container", "warehouse"] class FindFormMultiSelectionWarehouseModule(FindFormMultiSelection): diff --git a/archaeological_finds/forms_treatments.py b/archaeological_finds/forms_treatments.py index 7fc0d877c..6c22b30ee 100644 --- a/archaeological_finds/forms_treatments.py +++ b/archaeological_finds/forms_treatments.py @@ -127,7 +127,6 @@ class BaseTreatmentForm(CustomForm, ManageOldType): form_admin_name = _("Treatment - 020 - General") form_slug = "treatment-020-general" base_models = ['treatment_type'] - extra_form_modals = ["container", "warehouse", "organization", "person"] associated_models = {'treatment_type': models.TreatmentType, 'person': Person, 'scientific_monitoring_manager': Person, @@ -763,7 +762,6 @@ class TreatmentFileForm(CustomForm, ManageOldType): 'applicant': Person, 'applicant_organisation': Organization, 'associated_basket': models.FindBasket } - extra_form_modals = ["person", "organization"] need_user_for_initialization = True name = forms.CharField(label=_("Name"), |