[FIX] crm_lead : context=None and used in write method
bzr revid: tfr@openerp.com-20101220093027-k3zojd2l115p0mf9
This commit is contained in:
@@ -289,6 +289,9 @@ class crm_lead(crm_case, osv.osv):
|
||||
return value
|
||||
|
||||
def write(self, cr, uid, ids, vals, context=None):
|
||||
if not context:
|
||||
context = {}
|
||||
|
||||
if 'date_closed' in vals:
|
||||
return super(crm_lead,self).write(cr, uid, ids, vals, context=context)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user