Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4005 Visualizzazioni

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
Abbandona

Make the button return action view?

Autore

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

Autore Risposta migliore

Return this in your function:

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

Avatar
Abbandona