[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:
parent
48aadedd0e
commit
0d6d1c4c6d
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue