[REVERT]: crm: Reverted Opportunity defaul because lead and opportunities are same object, leads generated from mailgates are coming in opportunity
bzr revid: rpa@tinyerp.com-20100625131029-prv0pmyq3b8z60z8
This commit is contained in:
@@ -109,8 +109,7 @@ class crm_opportunity(osv.osv):
|
||||
|
||||
_defaults = {
|
||||
'company_id': lambda s,cr,uid,c: s.pool.get('res.company')._company_default_get(cr, uid, 'crm.lead', context=c),
|
||||
'priority': crm.AVAILABLE_PRIORITIES[2][0],
|
||||
'type': 'opportunity',
|
||||
'priority': lambda *a: crm.AVAILABLE_PRIORITIES[2][0],
|
||||
}
|
||||
|
||||
def action_makeMeeting(self, cr, uid, ids, context=None):
|
||||
|
||||
Reference in New Issue
Block a user