diff --git a/addons/crm/crm_opportunity.py b/addons/crm/crm_opportunity.py index 349bec933fa..0adbf2f2489 100644 --- a/addons/crm/crm_opportunity.py +++ b/addons/crm/crm_opportunity.py @@ -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):