跳至內容
選單
此問題已被標幟
2 回覆
5892 瀏覽次數

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?

頭像
捨棄
作者 最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
1月 23
4840
0
8月 23
194
1
3月 23
3412
1
10月 22
8656
1
2月 22
2924