Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4003 Näkymät

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
Hylkää

Make the button return action view?

Tekijä

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

Tekijä Paras vastaus

Return this in your function:

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

Avatar
Hylkää