Launchpad automatic translations update.
[odoo/odoo.git] / addons / project_mailgate / project_mailgate_view.xml
index b31eb85..c3cd4bf 100644 (file)
@@ -8,9 +8,9 @@
                            <field name="inherit_id" ref="project.view_task_form2"/>
                            <field name="arch" type="xml">
                                <xpath expr="/form/notebook/page[@string='Extra Info']" position="before">
-                                   <page string="Communication History">
-                                       <field name="message_ids" colspan="4" nolabel="1" mode="tree,form">
-                                               <tree string="Communication history">
+                                   <page string="History">
+                                       <field name="message_ids" colspan="4" nolabel="1" mode="tree,form" readonly="1">
+                                               <tree string="History">
                                                    <field name="display_text" string="History Information"/>
                                                </tree>
                                                <form string="History">
                                                        <field name="date"/>
                                                        <field name="email_to" widget="char" size="512"/>
                                                        <field name="email_cc" widget="char" size="512"/>
-                                                       <field name="name" colspan="4" widget="char" size="512"/>
-                                                       <field name="history" invisible="1"/>
+                                                       <field name="subject" colspan="4" widget="char" size="512"/>
                                                    </group>
                                                    <notebook colspan="4">
                                                        <page string="Details">
-                                                           <group attrs="{'invisible': [('history', '!=', True)]}">
-                                                               <field name="description" colspan="4" nolabel="1" height="250"/>
+                                                           <group attrs="{'invisible': [('email_from', '=', False)]}">
+                                                               <field name="body_text" colspan="4" nolabel="1" height="250"/>
                                                            </group>
-                                                           <group attrs="{'invisible': [('history', '=', True)]}">
+                                                           <group attrs="{'invisible': [('email_from', '!=', False)]}">
                                                                <field name="display_text" colspan="4" nolabel="1"  height="250"/>
                                                            </group>
                                                        </page>