summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r--archaeological_operations/forms.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index 88c0b9c84..a7d191dd8 100644
--- a/archaeological_operations/forms.py
+++ b/archaeological_operations/forms.py
@@ -468,6 +468,7 @@ class SiteOpeRelationsForm(ManageOldType):
associated_model=models.Operation),
validators=[valid_id(models.Operation)], required=False)
+
SiteOpeRelationsFormSet = formset_factory(
SiteOpeRelationsForm, can_delete=True, formset=RecordRelationsFormSetBase,
extra=3
@@ -541,6 +542,7 @@ class OperationSelect(GeoItemSelect):
abstract = forms.CharField(label=_("Abstract (full text search)"))
scientific_documentation_comment = forms.CharField(
label=_("Comment about scientific documentation"))
+ negative_result = forms.NullBooleanField(label=_("Result considered negative"))
record_quality_type = forms.ChoiceField(label=_("Record quality"))
report_processing = forms.ChoiceField(label=_("Report processing"),
choices=[])
@@ -782,8 +784,6 @@ class OperationFormGeneral(CustomForm, ManageOldType):
choices=[], required=False)
if settings.COUNTRY == 'fr':
cira_date = DateField(label="Date avis CTRA/CIRA", required=False)
- negative_result = forms.NullBooleanField(
- required=False, label="Résultat considéré comme négatif")
cira_rapporteur = forms.IntegerField(
label="Rapporteur CTRA/CIRA",
widget=widgets.JQueryAutoComplete(
@@ -797,6 +797,8 @@ class OperationFormGeneral(CustomForm, ManageOldType):
tips=lazy(get_sra_agent_head_scientist_label),
associated_model=Person, new=True),
validators=[valid_id(Person)], required=False)
+ negative_result = forms.NullBooleanField(
+ required=False, label=_("Result considered negative"))
documentation_deadline = DateField(
label=_("Deadline for submission of the documentation"),
required=False)