[Add]:crm: add case_id in crm_lead
bzr revid: sbh@tinyerp.com-20100112063652-xhdu22oa0tf0nn76
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user