[IMP] project: filter Tasks with user's preferred project

bzr revid: odo@openerp.com-20111129154841-d0airx6e0xxmu4cc
This commit is contained in:
Olivier Dony 2011-11-29 16:48:41 +01:00
parent b8629279f3
commit 9f58a783ae
1 changed files with 1 additions and 1 deletions

View File

@ -529,7 +529,7 @@
<field name="view_mode">tree,form,calendar,gantt,graph,kanban</field>
<field eval="False" name="filter"/>
<field name="view_id" ref="view_task_tree2"/>
<field name="context">{"search_default_draft": 1, "search_default_open":1}</field>
<field name="context">{"search_default_draft": 1, "search_default_open":1, "search_default_project_id": project_id}</field>
<field name="search_view_id" ref="view_task_search_form"/>
<field name="help">A task represents a work that has to be done. Each user works in his own list of tasks where he can record his task work in hours. He can work and close the task itself or delegate it to another user. If you delegate a task to another user, you get a new task in pending state, which will be reopened when you have to review the work achieved. If you install the project_timesheet module, task work can be invoiced based on the project configuration. With the project_mrp module, sales orders can create tasks automatically when they are confirmed.</field>
</record>