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.