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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Buchhaltung
- Lager
- PoS
- Project
- MRP
Diese Frage wurde gekennzeichnet
2
Antworten
5874
Ansichten
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!
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
RegistrierenVerknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
---|---|---|---|---|
|
1
Jan. 23
|
4826 | ||
|
0
Aug. 23
|
194 | ||
|
1
März 23
|
3388 | ||
|
1
Okt. 22
|
8633 | ||
|
1
Feb. 22
|
2889 |