summaryrefslogtreecommitdiff
path: root/addons/plugin/plugin_handler.py
diff options
context:
space:
mode:
authorSanjay Gohel (Open ERP) <sgo@tinyerp.com>2011-12-21 14:33:23 +0530
committerSanjay Gohel (Open ERP) <sgo@tinyerp.com>2011-12-21 14:33:23 +0530
commit96774c2e0fdef3361e00c1e78a4723e28cd71ee9 (patch)
tree6d1371e49ab83d680ce9111ead79db6f5e709ff6 /addons/plugin/plugin_handler.py
parentf98e436c266596bb235b39a17f667b053e079bb9 (diff)
[FIX]Plugin:change res_id into list
bzr revid: sgo@tinyerp.com-20111221090323-y3hp3jj1u3i599uo
Diffstat (limited to 'addons/plugin/plugin_handler.py')
-rw-r--r--addons/plugin/plugin_handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/plugin/plugin_handler.py b/addons/plugin/plugin_handler.py
index 8a9f2073c2d..1fccae814b2 100644
--- a/addons/plugin/plugin_handler.py
+++ b/addons/plugin/plugin_handler.py
@@ -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)