跳至內容
選單
此問題已被標幟
819 瀏覽次數

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.
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
8月 25
196
0
8月 25
301
1
8月 25
689
1
8月 25
534
4
7月 25
1906