summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index a4feca974..093959fbe 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -1199,6 +1199,7 @@ class Operation(
"virtual_operation",
"documentation_received",
"finds_received",
+ "negative_result",
]
MANY_COUNTED_FIELDS = ["context_record__base_finds__isnull"]
REVERSED_BOOL_FIELDS = [
@@ -1469,6 +1470,10 @@ class Operation(
"drassm_code__iexact",
related_name="drassm_code"
),
+ "negative_result": SearchAltName(
+ pgettext_lazy("key for text search", "negative-result"),
+ "negative_result",
+ ),
}
ALT_NAMES.update(BaseHistorizedItem.ALT_NAMES)
ALT_NAMES.update(DocumentItem.ALT_NAMES)
@@ -1671,7 +1676,7 @@ class Operation(
verbose_name="Rapporteur CTRA/CIRA",
)
negative_result = models.NullBooleanField(
- "Résultat considéré comme négatif", blank=True, null=True
+ _("Result considered negative"), blank=True, null=True
)
cira_date = models.DateField("Date avis CTRA/CIRA", null=True, blank=True)
eas_number = models.CharField(