diff options
| author | MVA <mva@openerp.com> | 2011-12-22 09:36:15 +0100 |
|---|---|---|
| committer | MVA <mva@openerp.com> | 2011-12-22 09:36:15 +0100 |
| commit | 4c986c71dec2543acd6b7a37238b810283841542 (patch) | |
| tree | 6d2df616979cb333082b9cccd8e7dcbabda6b483 /addons/plugin/plugin_handler.py | |
| parent | d8ac32e717ac36c42494934c2711feb750226edb (diff) | |
[CLEAN] cleaning code
bzr revid: mva@openerp.com-20111222083615-ot0yvp9ki3ckpvgd
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 3c322b67bf4..f8f41bd8f16 100644 --- a/addons/plugin/plugin_handler.py +++ b/addons/plugin/plugin_handler.py @@ -53,7 +53,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) |
