[IMP] remove communication and history

bzr revid: tpa@tinyerp.com-20120430102752-3xwat05h0gegtqw3
This commit is contained in:
Turkesh Patel (Open ERP) 2012-04-30 15:57:52 +05:30
parent 41a69ec95d
commit d5f15d2230
1 changed files with 9 additions and 24 deletions

View File

@ -66,7 +66,8 @@
<field name="model">crm.claim</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Claims">
<form string="Claims" layout="manual">
<sheet layout="auto">
<group>
<field name="name" />
<field name="date"/>
@ -82,6 +83,9 @@
<newline />
<field name="priority"/>
<field name="date_deadline"/>
<button string="Send New Email"
name="%(mail.action_email_compose_message_wizard)d"
icon="terp-mail-message-new" type="action"/>
</group>
<group colspan="4" col="4">
<notebook>
@ -145,31 +149,12 @@
<field name="resolution" colspan="2" nolabel="1"/>
</group>
</page>
<page string="Communication &amp; History">
<group colspan="4">
<field colspan="4" name="email_cc" string="Global CC" widget="char"/>
</group>
<field name="message_ids" colspan="4" nolabel="1" mode="tree" readonly="1">
<tree string="History">
<field name="display_text" string="History Information"/>
<field name="email_from" invisible="1"/>
<button
string="Reply" attrs="{'invisible': [('email_from', '=', False)]}"
name="%(mail.action_email_compose_message_wizard)d"
context="{'mail.compose.message.mode':'reply'}"
icon="terp-mail-replied" type="action" />
</tree>
</field>
<button string="Add Internal Note"
name="%(crm.action_crm_add_note)d"
context="{'model': 'crm.lead' }"
icon="terp-document-new" type="action" />
<button string="Send New Email"
name="%(mail.action_email_compose_message_wizard)d"
icon="terp-mail-message-new" type="action"/>
</page>
</notebook>
</group>
</sheet>
<div class="oe_form_sheet_width">
<field name="message_ids_social" colspan="4" widget="ThreadView" nolabel="1"/>
</div>
</form>
</field>
</record>