Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
4040 Переглядів

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
черв. 21
3740
0
груд. 18
4766
2
вер. 23
8313
Open record in new tab Вирішено
6
черв. 18
27202
0
бер. 15
2597