コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4026 ビュー

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

アバター
破棄