[IMP] crm: add the act window of phoneall and meeting in business opportunity

bzr revid: sbh@tinyerp.com-20100129090144-ev2psnyr7mae4w31
This commit is contained in:
sbh (Open ERP) 2010-01-29 14:31:44 +05:30
parent 3816dffe18
commit 98942e9862
2 changed files with 2 additions and 1 deletions

View File

@ -51,6 +51,7 @@
<field name="categ_id" select="1" on_change="onchange_categ_id(categ_id)" string="Lead Source"/>
<field name="type_id" string="Campaign Type" select="1"/>
</group>
<field name="date" string="Deadline"/>
<group colspan="2" col="4">
<field name="opportunity_id" string="Opportunity Case"/>
<button string="Convert to Opportunity" name="%(wizard_crm_lead_opportunity_set)d" icon="gtk-index" type="action" attrs="{'invisible':[('opportunity_id','!=',False)]}"/>

View File

@ -17,7 +17,7 @@
name="Phone calls"
res_model="crm.phonecall"
src_model="crm.opportunity"
view_mode="tree,form"
view_mode="calendar,tree,form"
context="{'default_partner_id': active_id, 'default_duration': 1.0}"
view_type="form"/>