Skip to Content
Menu
This question has been flagged
1 Atsakyti
4000 Rodiniai

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

Portretas
Atmesti

Make the button return action view?

Autorius

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

Autorius Best Answer

Return this in your function:

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

Portretas
Atmesti