Skip to Content
मेन्यू
This question has been flagged
4185 Views

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

Avatar
Discard
Related Posts Replies Views Activity
1
जून 21
3870
0
दिस॰ 18
4884
2
सित॰ 23
8455
6
जून 18
27364
0
मार्च 15
2597