[FIX]Plugin:change res_id into list

bzr revid: sgo@tinyerp.com-20111221090323-y3hp3jj1u3i599uo
This commit is contained in:
Sanjay Gohel (Open ERP) 2011-12-21 14:33:23 +05:30
parent f98e436c26
commit 96774c2e0f
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class plugin_handler(osv.osv_memory):
res_id = msg.res_id
model = msg.model
url = self._make_url(cr, uid, res_id, model)
name = self.pool.get(model).name_get(cr, uid, res_id)[0][1]
name = self.pool.get(model).name_get(cr, uid, [res_id])[0][1]
return (model,res_id, url,name)