From 70a69dcea0bb92ef346c51da42122bf0f883dac9 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 25 Feb 2021 12:06:36 +0100 Subject: Generic extra forms modals for all pages (refs #5052) --- archaeological_finds/forms_treatments.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'archaeological_finds/forms_treatments.py') 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"), -- cgit v1.2.3