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

I used this video (https://www.youtube.com/watch?v=H-iFhOh1tOE) as a reference as well as the github repo available in the comments to build a small js app. It consists of the main widget that has the core methods (init, start...etc) as well as the template views. Now, I created a menuitem as well, and I would like odoo to redirect to a route (/myApp/index/) when I click on the menuitem, instead of displaying a tree/form view the way we useally do it. The route is handled by a web controller that renders the main template. How can I force a menuItem to follow the route that leads to my App?

아바타
취소
베스트 답변

Hi,

Can you check the usage of ir.actions.act_url

Doc: https://www.odoo.com/documentation/11.0/reference/actions.html#url-actions-ir-actions-act-url

Thanks

아바타
취소
작성자

Thanks a lot!

작성자 베스트 답변

Thanks, @Cybrosys, that's exactly what I was looking for!

아바타
취소
관련 게시물 답글 화면 활동
1
1월 23
4877
0
8월 23
194
1
3월 23
3499
1
10월 22
8858
1
2월 22
2993