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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
3589
Views
<a class="btn btn-primary" t-att-href="'/web#menu_id=%s&action=%s&id=%s&view_type=form&model=your_model' % (%(addon.menu_id)d, %(addon.action_id)d, your_res_id, )">Go to backend</a>