Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4114 Lượt xem

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'
}

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 21
3827
0
thg 12 18
4847
2
thg 9 23
8420
6
thg 6 18
27316
0
thg 3 15
2597