[FIX] allow to call write without ids on osv_memory objects
bzr revid: chs@tinyerp.com-20091016151643-uh7a9m0lfeqajfqf
This commit is contained in:
parent
3d08c9c6f0
commit
122230e73c
|
@ -1472,6 +1472,8 @@ class orm_memory(orm_template):
|
|||
return result
|
||||
|
||||
def write(self, cr, user, ids, vals, context=None):
|
||||
if not ids:
|
||||
return True
|
||||
vals2 = {}
|
||||
upd_todo = []
|
||||
for field in vals:
|
||||
|
|
Loading…
Reference in New Issue