Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
4016 Visninger

Hi,

When I click a button I'm executing a function, and then I'd like to go to the previous view, or at least go to home screen. How can I do it?

Thanks

Avatar
Kassér

Make the button return action view?

Forfatter

Yes, thanks, I'd realize I just needed to use tag='home'

Forfatter Bedste svar

Return this in your function:

return {'type': 'ir.actions.client', 'tag': 'home'}

Avatar
Kassér