From f6d282bd88ef69501b0a01791e7a1eee22cb1a5b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 11 Jan 2011 16:24:17 +0100 Subject: Correct save of the person in charge of archaelogical file (closes #80) --- ishtar/furnitures/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ishtar/furnitures/forms.py b/ishtar/furnitures/forms.py index 800e85e8c..8d5ee6c91 100644 --- a/ishtar/furnitures/forms.py +++ b/ishtar/furnitures/forms.py @@ -560,7 +560,7 @@ ParcelFormSet.form_label = _("Parcels") class FileFormPreventive(forms.Form): form_label = _("Preventive informations") - associated_models = {'general_contractor':models.Organization, + associated_models = {'general_contractor':models.Person, 'saisine_type':models.SaisineType} general_contractor = forms.IntegerField(label=_(u"General contractor"), widget=widgets.JQueryAutoComplete( -- cgit v1.2.3