[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
This commit is contained in:
Jay (OpenERP)
2010-11-03 20:37:35 +05:30
parent a9e67f3f3d
commit 2d2b4ae521
+1 -1
View File
@@ -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"/>