Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4013 Prikazi

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
Opusti

Make the button return action view?

Avtor

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

Avtor Best Answer

Return this in your function:

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

Avatar
Opusti