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
commitdde0e82e226299726e03c40ea01852948786ecf9 (patch)
treecb38b663ef9f8186e862203e9c7f8951be696cdf
parentcbbfef7f1ac2b4252c2818d707bbfa21bc855433 (diff)
downloadIshtar-dde0e82e226299726e03c40ea01852948786ecf9.tar.bz2
Ishtar-dde0e82e226299726e03c40ea01852948786ecf9.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"))