summaryrefslogtreecommitdiff
path: root/addons/project_mailgate/project_mailgate_view.xml
diff options
context:
space:
mode:
authorStephane Wirtel <stw@openerp.com>2011-09-13 16:00:16 +0200
committerStephane Wirtel <stw@openerp.com>2011-09-13 16:00:16 +0200
commit2a59ce92e3ea35cca00a314d44556b522b3c2fa8 (patch)
tree6e7eec2157a513284e6740a95f2e39b7f04aef79 /addons/project_mailgate/project_mailgate_view.xml
parent8a2bc42c3c45b4d3c94070a29fa76636256f3da7 (diff)
parent2a40f9a4997eecc6f997ab0e43dc6334263b9cad (diff)
[MERGE] Email Framework - lp:~openerp-dev/openobject-addons/trunk-emails-unified
bzr revid: stw@openerp.com-20110913140016-zzfynrnjdaap0tfb
Diffstat (limited to 'addons/project_mailgate/project_mailgate_view.xml')
-rw-r--r--addons/project_mailgate/project_mailgate_view.xml11
1 files changed, 5 insertions, 6 deletions
diff --git a/addons/project_mailgate/project_mailgate_view.xml b/addons/project_mailgate/project_mailgate_view.xml
index 8c8816ebbd5..c3cd4bf9db2 100644
--- a/addons/project_mailgate/project_mailgate_view.xml
+++ b/addons/project_mailgate/project_mailgate_view.xml
@@ -9,7 +9,7 @@
<field name="arch" type="xml">
<xpath expr="/form/notebook/page[@string='Extra Info']" position="before">
<page string="History">
- <field name="message_ids" colspan="4" nolabel="1" mode="tree,form">
+ <field name="message_ids" colspan="4" nolabel="1" mode="tree,form" readonly="1">
<tree string="History">
<field name="display_text" string="History Information"/>
</tree>
@@ -19,15 +19,14 @@
<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>