[FIX] allow "none" route to be accessible when logged in
bzr revid: chs@openerp.com-20140130162626-z83x9e6ekdfqku0a
This commit is contained in:
@@ -135,7 +135,7 @@ class ir_http(osv.AbstractModel):
|
||||
m = request.registry.get('ir.module.module')
|
||||
ids = m.search(cr, openerp.SUPERUSER_ID, [('state', '=', 'installed'), ('name', '!=', 'web')], context=request.context)
|
||||
installed = set(x['name'] for x in m.read(cr, 1, ids, ['name'], context=request.context))
|
||||
mods = ['', "web"] + sorted(installed)
|
||||
mods = [''] + openerp.conf.server_wide_modules + sorted(installed)
|
||||
self._routing_map = http.routing_map(mods, False, converters=self._get_converters())
|
||||
|
||||
return self._routing_map
|
||||
|
||||
Reference in New Issue
Block a user