Search code examples
pythonodooodoo-9

Odoo, prevent redirecting after web login


After I login to odoo from localhost:8069/web/login I get redirected to Odoo backend, from where I need to click Website to come back to Home Page.

How can I prevent this? I need to stay inside the home page after login.

EDIT: @moskiSRB 's answer solves the problem for simple login. But after Signup there is auto login which still leads to backend


Solution

  • If you wanna set this for all website users you need to set them to portal users. Also, you can set under Users->Preferences->Home Action set to Website.

    UPDATE

    For signup new users you need to create template user account and check portal options for that user. Next, go to Settings->General Settings under Portal Access find Template user for new users created through signup choose your template user.