diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-01-10 15:42:40 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-01-10 15:42:40 +0100 |
commit | 6a693a41d3dfcb19e073efd4678f02f1be5d244e (patch) | |
tree | 23efa1e1d0343d405ff3ce68711166dab2cdda7d /archaeological_operations/models.py | |
parent | 2ab5b3578197accf797b9fdc2d39a56f7ac5785c (diff) | |
download | Ishtar-6a693a41d3dfcb19e073efd4678f02f1be5d244e.tar.bz2 Ishtar-6a693a41d3dfcb19e073efd4678f02f1be5d244e.zip |
Treatment sheet: list related operations
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r-- | archaeological_operations/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 129040706..c8c291752 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -224,7 +224,10 @@ class Operation(ClosedItem, BaseHistorizedItem, ImageModel, OwnPerms, 'documentation_deadline_after': 'documentation_deadline__gte', 'finds_deadline_before': 'finds_deadline__lte', 'finds_deadline_after': 'finds_deadline__gte', + 'related_treatment': + 'context_record__base_finds__find__upstream_treatment__id' } + EXTRA_FULL_FIELDS_LABELS = { 'full_code_patriarche': u"Code patriarche", 'year_index': _(u"Year - Index"), |