Skip to Content
Menu
This question has been flagged
4118 Rodiniai

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
birž. 21
3834
0
gruod. 18
4848
2
rugs. 23
8420
6
birž. 18
27323
0
kov. 15
2597