summaryrefslogtreecommitdiff
path: root/archaeological_finds/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/forms.py')
-rw-r--r--archaeological_finds/forms.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py
index 03a9c5762..7b9c68d75 100644
--- a/archaeological_finds/forms.py
+++ b/archaeological_finds/forms.py
@@ -431,6 +431,11 @@ SourceFindFormSelection = get_form_selection(
class FindSourceSelect(SourceSelect):
find__base_finds__context_record__operation__year = forms.IntegerField(
label=_(u"Year of the operation"))
+ find__base_finds__context_record__operation__operation_code = \
+ forms.IntegerField(label=_(u"Numeric reference"))
+ if settings.COUNTRY == 'fr':
+ find__base_finds__context_record__operation__code_patriarche = \
+ forms.IntegerField(label="Numéro d'opération (OA Patriarche)")
find__datings__period = forms.ChoiceField(
label=_(u"Period of the archaelogical find"), choices=[])
find__material_type = forms.ChoiceField(