Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
4010 Vizualizări

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

Imagine profil
Abandonează

Make the button return action view?

Autor

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

Autor Cel mai bun răspuns

Return this in your function:

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

Imagine profil
Abandonează