콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
4042 화면

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

아바타
취소