diff options
Diffstat (limited to 'archaeological_operations/models.py')
| -rw-r--r-- | archaeological_operations/models.py | 22 | 
1 files changed, 22 insertions, 0 deletions
| diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 14e5e1f7e..1e108e98c 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -225,6 +225,28 @@ class Operation(ClosedItem, BaseHistorizedItem, ImageModel, OwnPerms,          'finds_deadline_before': 'finds_deadline__lte',          'finds_deadline_after': 'finds_deadline__gte',      } +    EXTRA_FULL_FIELDS_LABELS = { +        'full_code_patriarche': u"Code patriarche", +        'year_index': _(u"Year - Index"), +        'associated_file_short_label': _(u"Associated file (label)"), +        'operator__name': _(u"Operator name"), +        'scientist__raw_name': _(u"Scientist (full name)"), +        'associated_file__external_id': _(u"Associated file (external ID)"), +        'scientist__title': _(u"Scientist (title)"), +        'scientist__surname': _(u"Scientist (surname)"), +        'scientist__name': _(u"Scientist (name)"), +        'scientist__attached_to__name': _(u"Scientist - Organization (name)"), +        'in_charge__title': _(u"In charge (title)"), +        'in_charge__surname': _(u"In charge (surname)"), +        'in_charge__name': _(u"In charge (name)"), +        'in_charge__attached_to__name': _(u"In charge - Organization (name)"), +        'cira_rapporteur__surname': u"Rapporteur CIRA (prénom)", +        'cira_rapporteur__name': u"Rapporteur CIRA (nom)", +        'cira_rapporteur__attached_to__name': u"Rapporteur CIRA - " +                                              u"Organisation (nom)", +        'archaeological_sites__reference': _(u"Archaeological sites (" +                                             u"reference)"), +    }      # fields definition      creation_date = models.DateField(_(u"Creation date"), | 
