summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-13 13:54:25 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-13 14:01:49 +0100
commit83a5855c7bb49f0caca9b18d01579688b6490380 (patch)
treec45999a94fe8f25d40385a2665620c04a7bd2b8e /archaeological_operations/models.py
parentac840acf81be5a2b002948cfd92871112ba40567 (diff)
downloadIshtar-83a5855c7bb49f0caca9b18d01579688b6490380.tar.bz2
Ishtar-83a5855c7bb49f0caca9b18d01579688b6490380.zip
Sheets: add ishtar ID (refs #3517)
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index bc2169009..ebe9ae551 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -404,6 +404,10 @@ class Operation(ClosedItem, BaseHistorizedItem, ImageModel, OwnPerms,
return _(u"OPE")
@property
+ def external_id(self):
+ return self.code_patriarche
+
+ @property
def short_label(self):
if settings.COUNTRY == 'fr':
return self.reference