From 2d2b4ae521efb92a8b389718ce669a2d6f37a878 Mon Sep 17 00:00:00 2001 From: "Jay (OpenERP)" Date: Wed, 3 Nov 2010 20:37:35 +0530 Subject: [PATCH] [FIX] CRM : Phonecall if called from Lead should use the phone field of Lead lp bug: https://launchpad.net/bugs/670292 fixed bzr revid: jvo@tinyerp.com-20101103150735-z616aq5gxyrmlhdb --- addons/crm/crm_opportunity_menu.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm/crm_opportunity_menu.xml b/addons/crm/crm_opportunity_menu.xml index 9a065571324..6b2e2d0fc39 100644 --- a/addons/crm/crm_opportunity_menu.xml +++ b/addons/crm/crm_opportunity_menu.xml @@ -9,7 +9,7 @@ res_model="crm.phonecall" src_model="crm.lead" view_mode="tree,calendar,form" - context="{'default_duration': 1.0 ,'default_opportunity_id': active_id}" + context="{'default_duration': 1.0 ,'default_opportunity_id': active_id,'default_partner_phone':phone}" domain="[('opportunity_id', '=', active_id)]" view_type="form"/>