Don't make total_effort invisible on task because it is used in list view

This commit is contained in:
Cédric Krier
2009-06-23 10:34:59 +02:00
parent 726ac578f3
commit 998f8e9b1e
-3
View File
@@ -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',