Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
4 Antwoorden
28469 Weergaven

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>

Avatar
Annuleer
Beste antwoord

<?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>                        

Avatar
Annuleer
Beste antwoord

How can I create a bookmark page in Odoo website pages, client can visit, comment and link their Url

Avatar
Annuleer
Beste antwoord

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

Avatar
Annuleer

just had to change self to new. It works. sorry for the noise

Gerelateerde posts Antwoorden Weergaven Activiteit
3
dec. 21
6656
0
nov. 19
3319
0
dec. 18
2359
7
okt. 18
21770
2
nov. 17
6044