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 @@ +