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

I want to redirect user an external url in a function then open another kanban view at the same function how can i do this ?

for example ;

def go_to_approval(self):
return {
'type': 'ir.actions.act_url',
'target': 'new',
'url': self.email_approval_url,
}

Then
return {
'name': _('Bla Bla Details'),
'type': 'ir.actions.act_window',
'view_mode': 'form',
'res_model': 'example.detail',
'res_id': created_detail_id.id,
'target': 'current'
}

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
6月 21
3459
0
12月 18
4568
2
9月 23
8052
6
6月 18
26851
0
3月 15
2597