Skip to Content
Menu
This question has been flagged
831 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
0
Aug 25
114
2
Aug 25
300
0
Aug 25
343
1
Aug 25
780
1
Aug 25
564