Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4014 Переглядів

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

Аватар
Відмінити

Make the button return action view?

Автор

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

Автор Найкраща відповідь

Return this in your function:

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

Аватар
Відмінити