Skip to Content
Menu
This question has been flagged
768 Views

how to redirect to a link when a survey is completed.

surveys last submit button action is _mark_done() i super the function and added 

return {
'type': 'ir.actions.act_url',
'url': '/web#action=your_action_id', # Replace with your desired URL or action
'target': 'self', # Use 'self' for same tab or 'new' for new tab
}
but its not working i also found the submit controller inside it i did return request.redirect(url) but still not working there are no errors but the page is not redirecting.
Avatar
Discard
Related Posts Replies Views Activity
1
Aug 25
167
4
Jul 25
1512
1
Jul 25
826
2
Jul 25
856
1
Jul 25
1966