Odoo Help


How to redirect login screen for another authentication in Odoo 8

on 2/8/16, 7:48 AM 1,320 views

Dear All,

I have to add one more screen for sms authentication in odoo 8 after login screen. After pressing the Login button, next screen should be for entering a character field. On button press i have to check the entered character with the value stored in the user table.

M Grmn
On 2/8/16, 2:29 PM

If passing vars using url is what you are looking for eg: ?example=var1 then in addons/web/controllers/main.py you can either add or modify with http.route() or just look up login_redirect and edit according to your needs.

see: https://doc.odoo.com/trunk/web/web_controllers/

On 2/8/16, 8:02 AM

For that you can override Home controller and method web_login for redirect your new login screen.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 2/8/16, 7:48 AM
Seen: 1320 times
Last updated: 9/26/17, 2:20 AM