diff options
| author | Christophe Simonis <chs@openerp.com> | 2012-08-08 14:02:14 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@openerp.com> | 2012-08-08 14:02:14 +0200 |
| commit | 6c12d5b308982721e2151e5a9f98659f0e0be119 (patch) | |
| tree | a00c773f4676695e3a6bc7eb674e1d44717f3d42 /addons/plugin/plugin_handler.py | |
| parent | 9db8f8ac64c9ce3cd5e5b1610c8aaed1ffbd4364 (diff) | |
[FIX] correct home and login urls
bzr revid: chs@openerp.com-20120808120214-13k9qgzx8gu330cs
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 700b9648237..e497f902dc2 100644 --- a/addons/plugin/plugin_handler.py +++ b/addons/plugin/plugin_handler.py @@ -19,7 +19,7 @@ class plugin_handler(osv.osv_memory): base_url = self.pool.get('ir.config_parameter').get_param(cr, uid, 'web.base.url', default='http://localhost:8069', context=context) if base_url: user = self.pool.get('res.users').browse(cr, uid, uid, context=context) - base_url += '/web/webclient/login?db=%s&login=%s&key=%s#id=%s&model=%s' % (cr.dbname, user.login, user.password, res_id, model) + base_url += '/login?db=%s&login=%s&key=%s#id=%s&model=%s' % (cr.dbname, user.login, user.password, res_id, model) return base_url def is_installed(self, cr, uid): |
