<openerp>
<data>
- <menuitem id="menu_project_confi" name="Issues" parent="project.menu_definitions" sequence="2"/>
+ <menuitem id="menu_project_confi" name="Issues" parent="base.menu_definitions" sequence="2"/>
<record model="ir.ui.view" id="project_issue_version_search_view">
<field name="name">Issue Version</field>
<field name="model">project.issue.version</field>
<field name="type">form</field>
<field name="arch" type="xml">
- <form string="Issue Version">
- <field name="name"/>
- <field name="active"/>
+ <form string="Issue Version" version="7.0">
+ <group col="2">
+ <field name="name"/>
+ <field name="active"/>
+ </group>
</form>
</field>
</record>
<field name="model">project.issue</field>
<field name="type">form</field>
<field name="arch" type="xml">
- <form layout="manual">
+ <form version="7.0">
<header>
<button name="case_open" string="Open" type="object"
states="draft,pending"/>
states="draft,open,pending"/>
<field name="stage_id" widget="statusbar"/>
</header>
- <sheet string="Issue Tracker Form" layout="auto">
- <group colspan="4" col="6">
- <field name="name"/>
- <field name="project_id" required="True" on_change="on_change_project(project_id)"/>
- <group colspan="2" col="3">
+ <sheet string="Issue">
+ <label for="name" class="oe_form_readonly_hidden"/>
+ <h1><field name="name"/></h1>
+ <label for="project_id" class="oe_form_readonly_hidden"/>
+ <h2><field name="project_id" required="True" on_change="on_change_project(project_id)"/></h2>
+ <group>
+ <group>
+ <field name="user_id"/>
+ <field name="partner_id" on_change="onchange_partner_id(partner_id, email_from)"/>
+ <field name="email_from"/>
+ <label for="task_id"/>
+ <div>
+ <field name="task_id" on_change="onchange_task_id(task_id)" class="oe_form_inline"/>
+ <button string="Convert To Task" name="convert_issue_task" icon="gtk-index" type="object"
+ attrs="{'invisible':[('task_id','!=',False)]}" />
+ </div>
+ </group><group>
<field name="categ_id" widget="selection" domain="[('object_id.model', '=', 'project.issue')]"/>
- <button string="Send New Email"
- name="%(mail.action_email_compose_message_wizard)d"
- icon="terp-mail-message-new" type="action"/>
+ <field name="version_id" widget="selection"/>
+ <field name="priority"/>
+ <field name="progress" widget="progressbar" attrs="{'invisible':[('task_id','=',False)]}"/>
+ <field name="state" groups="base.group_no_one"/>
</group>
- <field name="user_id"/>
- <field name="version_id" colspan="2" widget="selection"/>
- <field name="state" groups="base.group_no_one"/>
</group>
- <notebook colspan="4">
- <page string="General">
- <group col="2" colspan="2">
- <separator colspan="2" string="Contact Information"/>
- <field name="partner_id" on_change="onchange_partner_id(partner_id, email_from)"/>
- <field name="email_from"/>
- </group>
- <group col="3" colspan="2">
- <separator colspan="3" string="Status"/>
- <field name="priority" colspan="3"/>
- <field name="task_id" on_change="onchange_task_id(task_id)"/>
- <button string="Convert To Task" name="convert_issue_task" icon="gtk-index" type="object"
- attrs="{'invisible':[('task_id','!=',False)]}" />
- <field name="progress" colspan="3" widget="progressbar" attrs="{'invisible':[('task_id','=',False)]}"/>
- </group>
- <separator string= "Description" colspan="4"/>
- <field name="description" nolabel="1" colspan="4"/>
- <separator colspan="4"/>
- </page>
+ <field name="description"/>
+
+ <notebook groups="base.group_no_one">
<page string="Extra Info">
<group col="4" colspan="4">
<separator string="Statistics" colspan="4" col="4"/>
</page>
</notebook>
</sheet>
- <div class="oe_form_sheet_width">
- <field name="message_ids" colspan="4" widget="ThreadView" nolabel="1"/>
- </div>
+ <footer>
+ <field name="message_ids" widget="ThreadView"/>
+ </footer>
</form>
</field>
</record>
<tr name="use_issues_row">
<th style="border-right:1px solid #DDD;" width="140px">Issues Tracking</th>
<td><field name="use_issues" nolabel="1"/></td>
- <td style="text-align:right;" width="110px"><button class="oe_btn_width" name="%(act_project_project_2_project_issue_all)d" string="Issues" type="action" attrs="{'invisible':[('use_issues','=', 0)]}"/></td>
+ <td style="text-align:right;" width="110px"><button icon="terp-stock_symbol-selection" class="oe_btn_width" name="%(act_project_project_2_project_issue_all)d" string="Issues" type="action" attrs="{'invisible':[('use_issues','=', 0)]}"/></td>
</tr>
</xpath>
<field name="priority" position="before">