summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2013-09-30 18:17:25 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2013-09-30 18:17:25 +0200
commitc0fe5367ac92a74e4af4a1994fb7443fbafb6c45 (patch)
treecb38b663ef9f8186e862203e9c7f8951be696cdf
parent08967c9a904b6380c6f794eb934038a3cfa65839 (diff)
downloadIshtar-c0fe5367ac92a74e4af4a1994fb7443fbafb6c45.tar.bz2
Ishtar-c0fe5367ac92a74e4af4a1994fb7443fbafb6c45.zip
Remove the ability to add new person in charge on operation search form (refs #1402)
-rw-r--r--archaeological_operations/forms.py2
1 files changed, 1 insertions, 1 deletions
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"))