Odoo Help

Welcome!

This community 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.

0

How to redirect login screen for another authentication in Odoo 8

By
Janeesh
on 2/8/16, 7:48 AM 611 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.

0
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/



0
Balvant
On 2/8/16, 8:02 AM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/8/16, 7:48 AM
Seen: 611 times
Last updated: 2/8/16, 2:29 PM