跳至内容
菜单
此问题已终结
4 回复
7936 查看

Hi,

I want to open in new tab when I click Website menu on backend.

How can I do it?

Best regards

形象
丢弃

Right click on your mouse :-)

Not every user might like it this way.

编写者 最佳答案

Hi,

Settings>Technical>User Interface>Menu Items and search Website (ID 400)

Edit>Action>Open:Referenced Document>Action Target>New Window

And then you can open this link with LEFT click... :))

Best regards

形象
丢弃
最佳答案

Hi,

Its late but may be helpful for some others.

<record id="github_link" model="website.menu">

    <field name="name">Source Code</field>

    <field name="url">https://github.com</field>

    <field name="parent_id" ref="website.main_menu" />

    <field name="sequence" type="int">101</field>

    <field name="new_window" eval="True"></field>

</record>

形象
丢弃

Thanks!! This helped me creating new menuitems

相关帖文 回复 查看 活动
5
8月 25
9734
2
7月 25
899
4
6月 25
1019
1
6月 25
1333
1
5月 25
1285