diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-03-15 10:00:12 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-03-15 10:00:12 +0100 |
commit | 145e2100b001dcb682b0d60f02dcad95fb5bf1db (patch) | |
tree | 783b84ab3738d0e43a4144f02748b4ef9b107080 /archaeological_operations | |
parent | b492cb324e76fcef3c1f9444880bc3e8d98d621b (diff) | |
download | Ishtar-145e2100b001dcb682b0d60f02dcad95fb5bf1db.tar.bz2 Ishtar-145e2100b001dcb682b0d60f02dcad95fb5bf1db.zip |
Refactoring: EXTRA_FULL_FIELDS_LABELS -> COL_LABELS (with merge) (refs #3491)
Diffstat (limited to 'archaeological_operations')
-rw-r--r-- | archaeological_operations/models.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 3b06bc449..727b29cb5 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -227,7 +227,7 @@ class Operation(ClosedItem, BaseHistorizedItem, ImageModel, OwnPerms, 'context_record__base_finds__find__upstream_treatment__id' } - EXTRA_FULL_FIELDS_LABELS = { + COL_LABELS = { 'full_code_patriarche': u"Code patriarche", 'associated_file_short_label': _(u"Associated file (label)"), 'operator__name': _(u"Operator name"), @@ -988,6 +988,7 @@ class AdministrativeAct(BaseHistorizedItem, OwnPerms, ValueGetter): REVERSED_BOOL_FIELDS = ['index__isnull'] RELATIVE_SESSION_NAMES = [('operation', 'operation__pk'), ('file', 'associated_file__pk')] + COL_LABELS = {'full_ref': _(u"Ref.")} # fields act_type = models.ForeignKey(ActType, verbose_name=_(u"Act type")) |