summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2011-03-31 19:16:49 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2011-03-31 19:16:49 +0200
commitc701833ae97ca54e1e23b330faa7572d30400fcd (patch)
treec54ebcabae9c7714a9d0f94b33d34fdee6d8ff52
parent84d5c050479a2efea8e1c017ac27c9c551e11bc2 (diff)
downloadIshtar-c701833ae97ca54e1e23b330faa7572d30400fcd.tar.bz2
Ishtar-c701833ae97ca54e1e23b330faa7572d30400fcd.zip
Operation listing improvment (closes #247)
-rw-r--r--ishtar/furnitures/models.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ishtar/furnitures/models.py b/ishtar/furnitures/models.py
index fdb8003c1..cd901af32 100644
--- a/ishtar/furnitures/models.py
+++ b/ishtar/furnitures/models.py
@@ -425,9 +425,10 @@ class RemainType(GeneralType):
class Operation(BaseHistorizedItem, OwnPerms):
TABLE_COLS = ['operation_code', 'year', 'operation_type',
- 'remains', 'towns', 'associated_file']
+ 'remains', 'towns', 'associated_file', 'start_date']
start_date = models.DateField(_(u"Start date"), null=True, blank=True)
end_date = models.DateField(_(u"Closing date"), null=True, blank=True)
+ begin_operation = models.DateField(_(u"Start date"), null=True, blank=True)
in_charge = models.ForeignKey('Person', related_name='+', null=True,
blank=True, verbose_name=_(u"In charge"))
year = models.IntegerField(_(u"Year"))
@@ -447,7 +448,7 @@ class Operation(BaseHistorizedItem, OwnPerms):
blank=True)
fnap_financing = models.FloatField(u"Financement FNAP",
blank=True, null=True)
- TABLE_COLS += ["code_patriarche", "code_dracar"]
+ TABLE_COLS += ["code_patriarche"]
zoning_prescription = models.NullBooleanField(
_(u"Prescription on zoning"), blank=True, null=True)
large_area_prescription = models.NullBooleanField(