Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3998 Widoki

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

Awatar
Odrzuć

Make the button return action view?

Autor

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

Autor Najlepsza odpowiedź

Return this in your function:

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

Awatar
Odrzuć