[Add]:crm: add case_id in crm_lead

bzr revid: sbh@tinyerp.com-20100112063652-xhdu22oa0tf0nn76
This commit is contained in:
sbh (Open ERP)
2010-01-12 12:06:52 +05:30
parent e364813b09
commit 4e47fe90c1
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -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):
+1
View File
@@ -24,6 +24,7 @@
</group>
<field name="categ_id" select="1" on_change="onchange_categ_id(categ_id)" string="Lead Source"/>
<field name="category2_id" string="Campaign Type" select="1"/>
<field name="case_id" string="Opportunity Case"/>
<button string="Convert to Opportunity" name="%(wizard_crm_lead_opportunity_set)d" icon="gtk-index" type="action"/>
</group>
<notebook colspan="4">