Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4139 Widoki

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
cze 21
3840
0
gru 18
4857
2
wrz 23
8434
6
cze 18
27335
0
mar 15
2597