From 998f8e9b1ece2dca555542fa20fed03aec335979 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 23 Jun 2009 10:34:59 +0200 Subject: [PATCH] Don't make total_effort invisible on task because it is used in list view --- work.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/work.py b/work.py index e6ede64c66..8e017bbe6f 100644 --- a/work.py +++ b/work.py @@ -71,9 +71,6 @@ class Work(ModelSQL, ModelView): }, depends=['type'], help="Estimated Effort for this work") total_effort = fields.Function('get_total_effort', type='float', string='Total Effort', - states={ - 'invisible': "type != 'project'" - }, depends=['type'], help="Estimated total effort for this work and the sub-works") comment = fields.Text('Comment') parent = fields.Function('get_parent', fnct_inv='set_parent',