[FIX] project_issue: escalate button near project_id

bzr revid: hmo@tinyerp.com-20120907083336-94r5wefpet2787zt
This commit is contained in:
Harry (OpenERP) 2012-09-07 14:03:36 +05:30
parent 487610dc0c
commit 49e81d654a
1 changed files with 6 additions and 5 deletions

View File

@ -114,12 +114,13 @@
<field name="partner_id" on_change="onchange_partner_id(partner_id, email_from)"/>
<field name="email_from"/>
</group>
<group col="2" colspan="1">
<group>
<field name="priority"/>
<group col="3" colspan="2">
<field name="project_id" required="True" on_change="on_change_project(project_id)" context="{'default_use_issues':1}"/>
<button name="case_escalate" string="Escalate" type="object" states="draft,open,pending"/>
</group>
<label for="project_id"/>
<div>
<field name="project_id" required="True" on_change="on_change_project(project_id)" class="oe_inline" context="{'default_use_issues':1}"/>
<button name="case_escalate" string="Escalate" type="object" states="draft,open,pending" class="oe_inline"/>
</div>
<label for="task_id"/>
<div>
<field name="task_id" on_change="onchange_task_id(task_id)" class="oe_inline" context="{'default_project_id':project_id}"/>