Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
5873 Näkymät

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?

Avatar
Hylkää
Tekijä Paras vastaus

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

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
tammik. 23
4823
0
elok. 23
194
1
maalisk. 23
3387
1
lokak. 22
8632
1
helmik. 22
2887