From c701833ae97ca54e1e23b330faa7572d30400fcd Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 31 Mar 2011 19:16:49 +0200 Subject: Operation listing improvment (closes #247) --- ishtar/furnitures/models.py | 5 +++-- 1 file 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( -- cgit v1.2.3