diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-02-11 21:15:09 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-02-11 21:15:09 +0100 |
commit | 1a1b5557cdd1b435b9de9d1c684c6183690293d5 (patch) | |
tree | a370f1858bb0c5216099f90bd7d37c1b18c36328 /ishtar/furnitures/models.py | |
parent | 31c0a045cbd091da90b414ada700b2ddaa9f853b (diff) | |
download | Ishtar-1a1b5557cdd1b435b9de9d1c684c6183690293d5.tar.bz2 Ishtar-1a1b5557cdd1b435b9de9d1c684c6183690293d5.zip |
Correction on Administrative Act tables (refs #141)
Diffstat (limited to 'ishtar/furnitures/models.py')
-rw-r--r-- | ishtar/furnitures/models.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ishtar/furnitures/models.py b/ishtar/furnitures/models.py index e476c639a..0c2f07433 100644 --- a/ishtar/furnitures/models.py +++ b/ishtar/furnitures/models.py @@ -652,10 +652,10 @@ class ActType(GeneralType): verbose_name_plural = _(u"Act types") class AdministrativeAct(BaseHistorizedItem, OwnPerms): - TABLE_COLS = ['act_type', 'associated_file', 'associated_file.towns', - 'operation.towns'] - TABLE_COLS_FILE = ['act_type', 'associated_file', 'associated_file__towns',] - TABLE_COLS_OPE = ['act_type', 'ope__towns', 'operation__towns'] + TABLE_COLS = ['act_type', 'associated_file', 'operation', + 'associated_file.towns', 'operation.towns'] + TABLE_COLS_FILE = ['act_type', 'associated_file', 'associated_file.towns',] + TABLE_COLS_OPE = ['act_type', 'operation', 'operation.towns'] act_type = models.ForeignKey(ActType, verbose_name=_(u"Act type")) in_charge = models.ForeignKey(Person, blank=True, null=True, related_name='+', verbose_name=_(u"Person in charge of the operation")) |