[IMP]Project-Task-> click Project form view -task-new task-- project set by default

bzr revid: ron@tinyerp.com-20101015105329-yi921ebnwmniuzyg
This commit is contained in:
ron@tinyerp.com 2010-10-15 16:23:29 +05:30
parent 38040f1bb9
commit c81407ccb0
1 changed files with 2 additions and 2 deletions

View File

@ -325,7 +325,7 @@
<field name="date_end" invisible="1"/>
<field name="progress" widget="progressbar" invisible="context.get('set_visible',False)"/>
<field name="state" invisible="context.get('set_visible',False)"/>
<button name="do_cancel" states="draft,open,pending" string="Cancel" type="object" icon="gtk-cancel" help="For cancelling the task"/>
<button name="do_cancel" states="draft,open,pending" string="Cancel" type="object" icon="gtk-cancel" help="For cancelling the task"/>
<button name="do_open" states="pending,draft,done,cancel" string="Start Task" type="object" icon="gtk-execute" help="For changing to open state" invisible="context.get('set_visible',False)"/>
<button groups="base.group_extended" name="%(action_project_task_delegate)d" states="pending,open,draft" string="Delegate" type="action" icon="gtk-sort-descending" help="For changing to delegate state"/>
<button name="action_close" states="draft,pending,open" string="Done" type="object" icon="gtk-apply" help="For changing to done state"/>
@ -500,7 +500,7 @@
<act_window context="{'search_default_user_id': [active_id]}" id="act_res_users_2_project_project" name="User's projects" res_model="project.project" src_model="res.users" view_mode="tree,form" view_type="form"/>
<act_window
context="{'search_default_project_id': [active_id]}"
domain="[('project_id', '=', active_id)]"
id="act_project_project_2_project_task_all"
name="Tasks"
res_model="project.task"