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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
Return this in your function:
return {'type': 'ir.actions.client', 'tag': 'home'}
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Make the button return action view?
Yes, thanks, I'd realize I just needed to use tag='home'