Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
4020 Weergaven

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
Annuleer

Make the button return action view?

Auteur

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

Auteur Beste antwoord

Return this in your function:

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

Avatar
Annuleer