diff options
| author | MVA <mva@openerp.com> | 2011-12-21 10:33:53 +0100 |
|---|---|---|
| committer | MVA <mva@openerp.com> | 2011-12-21 10:33:53 +0100 |
| commit | cc3b417999bfec68b4b70ca6d3550344d58fac7a (patch) | |
| tree | 6d1371e49ab83d680ce9111ead79db6f5e709ff6 /addons/plugin/plugin_handler.py | |
| parent | f98e436c266596bb235b39a17f667b053e079bb9 (diff) | |
| parent | 96774c2e0fdef3361e00c1e78a4723e28cd71ee9 (diff) | |
[MERGE]branch lp:~openerp-dev/openobject-addons/trunk-bug-plugin_handler_fix-sgo
bzr revid: mva@openerp.com-20111221093353-0ym7u0cgapbmhbmr
Diffstat (limited to 'addons/plugin/plugin_handler.py')
| -rw-r--r-- | addons/plugin/plugin_handler.py | 2 |
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) |
