From 4e47fe90c14fa23a9e35335fad6ba64a045e7b38 Mon Sep 17 00:00:00 2001 From: "sbh (Open ERP)" Date: Tue, 12 Jan 2010 12:06:52 +0530 Subject: [PATCH] [Add]:crm: add case_id in crm_lead bzr revid: sbh@tinyerp.com-20100112063652-xhdu22oa0tf0nn76 --- addons/crm/crm_lead.py | 2 ++ addons/crm/crm_lead_view.xml | 1 + 2 files changed, 3 insertions(+) diff --git a/addons/crm/crm_lead.py b/addons/crm/crm_lead.py index 7672cbb6904..dcbbef53051 100644 --- a/addons/crm/crm_lead.py +++ b/addons/crm/crm_lead.py @@ -71,6 +71,8 @@ class crm_lead(osv.osv): 'som': fields.many2one('res.partner.som', 'State of Mind', help="The minds states allow to define a value scale which represents" \ "the partner mentality in relation to our services.The scale has" \ "to be created with a factor for each level from 0 (Very dissatisfied) to 10 (Extremely satisfied)."), + + 'case_id': fields.many2one ('crm.opportunity', 'Opportunity'), } def msg_new(self, cr, uid, msg): diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml index 0574c832006..615f0803a10 100644 --- a/addons/crm/crm_lead_view.xml +++ b/addons/crm/crm_lead_view.xml @@ -24,6 +24,7 @@ +