summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-10-06 00:31:12 +0200
committerÉtienne Loks <etienne.loks@proxience.com>2015-10-06 00:31:12 +0200
commit4b1349b748e8dbd1ace541cc55562dba6bd9fe6f (patch)
treea5bed9314cdb19324f84e9a208f3e36c4322ec21 /archaeological_context_records/models.py
parent3137698e03d80f982c9f1cc6f319ce6ca9a2f5d6 (diff)
downloadIshtar-4b1349b748e8dbd1ace541cc55562dba6bd9fe6f.tar.bz2
Ishtar-4b1349b748e8dbd1ace541cc55562dba6bd9fe6f.zip
Specific context record table for operation window
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index d86d4aaa9..8c80d81ed 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -110,6 +110,9 @@ class ContextRecord(BaseHistorizedItem, OwnPerms, ShortMenuItem):
'label', 'unit']
if settings.COUNTRY == 'fr':
TABLE_COLS.insert(1, 'operation.code_patriarche')
+ TABLE_COLS_FOR_OPE = [
+ 'label', ['parcel.section', 'parcel.parcel_number'], 'unit',
+ 'datings.period', 'description']
external_id = models.CharField(_(u"External ID"), blank=True, null=True,
max_length=120)
parcel = models.ForeignKey(Parcel, verbose_name=_(u"Parcel"),