[FIX] ir_model : context key deletion

lp bug: https://launchpad.net/bugs/404733 fixed

bzr revid: jvo@tinyerp.com-20090728143131-i6oozfsb1bznj6r0
This commit is contained in:
AME(tiny/Axelor) 2009-07-28 20:01:31 +05:30 committed by Jay (Open ERP)
parent 48aadedd0e
commit 0d6d1c4c6d
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class ir_model(osv.osv):
def write(self, cr, user, ids, vals, context=None):
if context:
del context['__last_update']
context.pop('__last_update', None)
return super(ir_model,self).write(cr, user, ids, vals, context)
def create(self, cr, user, vals, context=None):