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
commit0632d859b858a78d76426dc2a341e2545db5a953 (patch)
treec54ebcabae9c7714a9d0f94b33d34fdee6d8ff52
parent33cb859e2dc08e418aedcc29eb6c576aaf2926ad (diff)
downloadIshtar-0632d859b858a78d76426dc2a341e2545db5a953.tar.bz2
Ishtar-0632d859b858a78d76426dc2a341e2545db5a953.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(