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 1,007 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>

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: 1007 times
Last updated: 12/15/16, 9:02 AM