تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3819 أدوات العرض

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يونيو 21
3391
0
ديسمبر 18
4476
2
سبتمبر 23
8004
6
يونيو 18
26778
0
مارس 15
2597