Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4025 Tampilan

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
Buang

Make the button return action view?

Penulis

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

Penulis Jawaban Terbai

Return this in your function:

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

Avatar
Buang