diff options
-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', |