Odoo Help


Is it possible to redirect to a form view from a website page?

Gopakumar N G
on 3/17/16, 6:55 AM 515 views

I have survey module installed and in the survey page(website page) on submitting the survey I have to redirect to survey form view. Is this possible? Need to redirect to the form view from the 'submit' method in main.py file in controllers of survey module.

On 12/15/16, 9:02 AM

<a class="btn btn-primary" t-att-href="'/web#menu_id=%s&amp;action=%s&amp;id=%s&amp;view_type=form&amp;model=your_model' % (%(addon.menu_id)d, %(addon.action_id)d, your_res_id, )">Go to backend</a>

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 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: 3/17/16, 6:55 AM
Seen: 515 times
Last updated: 12/15/16, 9:02 AM