Skip to content
Snippets Groups Projects
Commit 34976a6f authored by Fabien Pinckaers's avatar Fabien Pinckaers
Browse files

fix

bzr revid: fp@tinyerp.com-20101016141653-2dg9u9edvt10laek
parent c5b119e2
No related branches found
No related tags found
No related merge requests found
......@@ -61,8 +61,9 @@ class res_log(osv.osv):
result = []
res_dict = {}
for r in res:
if r['res_model'] not in res_dict:
res_dict[r['res_model']] = True
t = (r['res_model'], r['res_id'])
if t not in res_dict:
res_dict[t] = True
result.insert(0,r)
self.write(cr, uid, unread_log_ids, {'read': True}, context=context)
return result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment