Is it possible to set a menuitem action that links to an external web URL.
The rendered menu item would look like this:
<a href="some_external_url_address?queryString=value#fragment=value" class="some_class">My menu item</a>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Is it possible to set a menuitem action that links to an external web URL.
The rendered menu item would look like this:
<a href="some_external_url_address?queryString=value#fragment=value" class="some_class">My menu item</a>
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record id="teste_google" model="ir.actions.act_url">
<field name="name">Google 1</field>
<field name="type">ir.actions.act_url</field>
<field name="target">self</field>
<field name="url">https://www.google.com.au/?teste2=teste2</field>
</record>
<menuitem action="teste_google"
name="Google 2"
id="menu_teste_google"
sequence="2"/>
</data>
</openerp>
How can I create a bookmark page in Odoo website pages, client can visit, comment and link their Url
How may I open that link in a new tab? TIA
edit: I try to create a menu in root that when clicked will open a url in a new tab
just had to change self to new. It works. sorry for the noise
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
Get menuitem list
Đã xử lý
|
|
3
thg 12 21
|
6658 | |
|
0
thg 11 19
|
3324 | ||
|
0
thg 12 18
|
2363 | ||
How to delete menuitem?
Đã xử lý
|
|
7
thg 10 18
|
21774 | |
|
2
thg 11 17
|
6050 |