Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4011 Представления

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'}

Аватар
Отменить