From b551e04dcdf34f2ade1cbb8cdc4ba0b16f0a628e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Thu, 7 Mar 2013 17:28:51 +0100 Subject: [PATCH] [IMP] CRM: phonecall scheduling: opportunity description not in phonecall description anymore; move a field in form view to be more user friendly. bzr revid: tde@openerp.com-20130307162851-jmic921ixzjop44g --- addons/crm/wizard/crm_opportunity_to_phonecall.py | 2 -- addons/crm/wizard/crm_opportunity_to_phonecall_view.xml | 8 ++++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/addons/crm/wizard/crm_opportunity_to_phonecall.py b/addons/crm/wizard/crm_opportunity_to_phonecall.py index ad9d30c80a4..ee7ed1fc31f 100644 --- a/addons/crm/wizard/crm_opportunity_to_phonecall.py +++ b/addons/crm/wizard/crm_opportunity_to_phonecall.py @@ -52,8 +52,6 @@ class crm_opportunity2phonecall(osv.osv_memory): res.update({'categ_id': categ_id}) if 'partner_id' in fields: res.update({'partner_id': opp.partner_id and opp.partner_id.id or False}) - if 'note' in fields: - res.update({'note': opp.description}) if 'contact_name' in fields: res.update({'contact_name': opp.partner_id and opp.partner_id.name or False}) if 'phone' in fields: diff --git a/addons/crm/wizard/crm_opportunity_to_phonecall_view.xml b/addons/crm/wizard/crm_opportunity_to_phonecall_view.xml index 6e44573cc89..ad369448517 100644 --- a/addons/crm/wizard/crm_opportunity_to_phonecall_view.xml +++ b/addons/crm/wizard/crm_opportunity_to_phonecall_view.xml @@ -13,14 +13,14 @@ + -