From c0fe5367ac92a74e4af4a1994fb7443fbafb6c45 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 30 Sep 2013 18:17:25 +0200 Subject: Remove the ability to add new person in charge on operation search form (refs #1402) --- archaeological_operations/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index b971361d8..6e025c4a4 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -197,7 +197,7 @@ class OperationSelect(TableSelect): args=["_".join( [unicode(PersonType.objects.get(txt_idx='head_scientist').pk), unicode(PersonType.objects.get(txt_idx='sra_agent').pk)])]), - associated_model=Person, new=True), label=_(u"In charge")) + associated_model=Person), label=_(u"In charge")) remains = forms.ChoiceField(label=_(u"Remains"), choices=[]) periods = forms.ChoiceField(label=_(u"Periods"), choices=[]) year = forms.IntegerField(label=_("Year")) -- cgit v1.2.3