Odoo Hilfe

0

0
1 Answer
1
Avatar

Mitul Shingala

--Mitul Shingala--
--Mitul Shingala--

Odoo Developer

Mitul Shingala
04.06.19, 03:05

hello

try with below code.

<template id="website_menuitem" inherit_id="website.layout" name="header menu">
       <xpath expr="//li[@id='o_logout']" position="before">
          <li>
               <a href="/controllername" role="menuitem">Menu name</a>
          </li>
       </xpath>
</template>

I hope this will helps you.

1 Kommentar
Tabla d.o.o., Samo Arko
04.06.19, 03:47

Thanks it did the trick. I was trying to it like I found in website_forum module, but it didn't work.

<template id="tabla_instructions_menu_item" inherit_id="website.user_navbar">

<xpath expr="//div[@id='o_website_add_page_modal']//ul" position="inside">

<li groups="website.group_website_designer"><a href="/get-instructions"><i class="fa fa-comment"/><p>Instructions</p></a></li>

Fragen Sie
Writer
Keep Informed
1 Verfolger
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now