1 <?xml version="1.0" encoding="utf-8"?>
4 <record id="view_task_mailgate_form" model="ir.ui.view">
5 <field name="name">task.mailgate.form</field>
6 <field name="model">project.task</field>
7 <field name="type">form</field>
8 <field name="inherit_id" ref="project.view_task_form2"/>
9 <field name="arch" type="xml">
10 <xpath expr="/form/notebook/page[@string='Extra Info']" position="before">
11 <page string="History">
12 <field name="message_ids" colspan="4" nolabel="1" mode="tree,form">
13 <tree string="History">
14 <field name="display_text" string="History Information"/>
16 <form string="History">
17 <group col="4" colspan="4">
18 <field name="email_from"/>
20 <field name="email_to" widget="char" size="512"/>
21 <field name="email_cc" widget="char" size="512"/>
22 <field name="name" colspan="4" widget="char" size="512"/>
23 <field name="history" invisible="1"/>
25 <notebook colspan="4">
26 <page string="Details">
27 <group attrs="{'invisible': [('history', '!=', True)]}">
28 <field name="description" colspan="4" nolabel="1" height="250"/>
30 <group attrs="{'invisible': [('history', '=', True)]}">
31 <field name="display_text" colspan="4" nolabel="1" height="250"/>
34 <page string="Attachments">
35 <field name="attachment_ids" colspan="4" readonly="1" nolabel="1"/>