Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3999 มุมมอง

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

อวตาร
ละทิ้ง