Help

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

homepage redirects to login

Avatar
odoo
1 Comment
Avatar
Discard
Avatar
odoo
-

Im using odoo 11 and i have webpage builder installed

1 Answer
0
Avatar
odoo
Best Answer
when you hit the main url . Odoo call the function of
 
@http.route('/', type='http', auth="none")
defindex(self, s_action=None, db=None, **kw):
    return request.redirect_query('/web', query=request.params)

that is in the controllers/main.py file in web module that function redirect to you /web url after checking the user session if not user session it will redirect to web/login.
in web/login after users credentials checking the user redirects to home page or back to it if credentials fails.
In your case check the web/login may be inherit in some module.
or you can refer to this


this

Avatar
Discard