diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2014-12-12 15:47:09 +0100 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2014-12-12 15:47:09 +0100 | 
| commit | a77d68b9600c33b8a46d538b977276f66cdc4f2f (patch) | |
| tree | 2edb2323c84aeafa950ec8787f9f796fd96087d8 | |
| parent | 7a7172b6736c129991b19a1e19c74deddb3c1a98 (diff) | |
| download | Ishtar-a77d68b9600c33b8a46d538b977276f66cdc4f2f.tar.bz2 Ishtar-a77d68b9600c33b8a46d538b977276f66cdc4f2f.zip | |
Add act object column to administrativ act tables (refs #2131)
| -rw-r--r-- | archaeological_operations/models.py | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index ffa585036..ab59d3f1c 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -491,12 +491,12 @@ class ActType(GeneralType):  AdministrativeAct = None  if FILES_AVAILABLE:      class AdministrativeAct(BaseHistorizedItem, OwnPerms, ValueGetter): -        TABLE_COLS = ['full_ref', 'year', 'index', 'act_type', 'signature_date', -                      'associated_file', 'operation'] -        TABLE_COLS_FILE = ['full_ref', 'year', 'index', 'act_type', 'associated_file', -                           'associated_file.towns',] +        TABLE_COLS = ['full_ref', 'year', 'index', 'act_type', 'act_object', +                      'signature_date', 'associated_file', 'operation'] +        TABLE_COLS_FILE = ['full_ref', 'year', 'index', 'act_type', 'act_object',  +                           'associated_file', 'associated_file.towns',]          TABLE_COLS_OPE = ['full_ref', 'year', 'index', 'act_type', 'operation', -                          'operation.towns'] +                          'act_object', 'operation.towns']          act_type = models.ForeignKey(ActType, verbose_name=_(u"Act type"))          in_charge = models.ForeignKey(Person, blank=True, null=True,              related_name='adminact_operation_in_charge', | 
