Return the count of donw tasks by default
This commit is contained in:
parent
374ad27b56
commit
d9a2ab849b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue