Small change for AMit's netrpc

bzr revid: fp@tinyerp.com-d7198e9c3d9e3f83d471bc15dec32597324031a2
This commit is contained in:
Fabien Pinckaers 2007-05-04 04:47:12 +00:00
parent d0939c4ba3
commit dc11142316
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ class ir_values(osv.osv):
res_id=False
where1 = ['key=%s','model=%s']
where2 = [key,m]
where2 = [key,str(m)]
where_opt = []
if key2:
where1.append('key2=%s')