Return the count of donw tasks by default

This commit is contained in:
Shalabh Aggarwal 2012-09-24 15:37:15 +05:30
parent 374ad27b56
commit d9a2ab849b
1 changed files with 2 additions and 1 deletions

View File

@ -332,7 +332,8 @@ class Project(ModelSQL, ModelView):
"""
task_tag_obj = Pool().get('project.work-project.work.tag')
tasks = task_tag_obj.search([
('tag', '=', tag_id)
('tag', '=', tag_id),
('task.state', '=', 'opened'),
])
return tasks