[IMP] crm: Phonecall view changes.

bzr revid: uco@tinyerp.com-20110415065822-d5mjryxt1cdk588a
This commit is contained in:
Ujjvala Collins (OpenERP)
2011-04-15 12:28:22 +05:30
parent 7400125377
commit ed397c9578
+4 -5
View File
@@ -127,14 +127,14 @@
</field>
</record>
<!--Inbound Phonecalls Tree View -->
<!--Logged Phonecalls Tree View -->
<record model="ir.ui.view" id="crm_case_inbound_phone_tree_view">
<field name="name">CRM - Inbound Phone Calls Tree</field>
<field name="name">CRM - Logged Phone Calls Tree</field>
<field name="model">crm.phonecall</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Phone Calls" colors="grey:state in ('cancel','done');blue:state in ('pending',)" editable="top">
<tree string="Phone Calls" editable="top">
<field name="date"/>
<field name="name"/>
<field name="partner_id"
@@ -155,11 +155,10 @@
type="action" />
<button string="Convert to Opportunity"
name="%(phonecall2opportunity_act)d"
states="draft,open,pending"
icon="gtk-index"
type="action" attrs="{'invisible':[('opportunity_id','!=',False)]}" />
<button string="Meeting"
states="draft,open,pending" icon="gtk-redo"
icon="gtk-redo"
name="action_make_meeting" type="object" />
</tree>
</field>