Skip to Content
Menu
This question has been flagged
1 Reply
2471 Views

How do I edit a sub menu item so that, when clicked, it opens in another window, or tab?

Avatar
Discard
Best Answer

Hi Bill Berzins,

It is possible using just simple one line.

try this, accept the answer if helpfull..

step-1: create submenu

<menuitem name="submenu_name_to-display" 

        id="submenu_unique_id" 

        parent="submenu_parent_id" 

        action="action_id" />

step-2: define action

<record model="ir.actions.act_window" id="action_id">

      <field name="name">Name to display</field>

      <field name="target">new</field>

    </record> 

Avatar
Discard