Odoo Ajuda

0

0
1 Resposta
1
Avatar

Mitul Shingala Índia

--Mitul Shingala--
5344
| 6 4 9
Vadodara, Gujarat, Índia
--Mitul Shingala--

Odoo Developer

Mitul Shingala Índia
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 Comentário
Tabla d.o.o., Samo Arko Eslovênia
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>

Faça uma Pergunta
Writer
Marcadores
Keep Informed
1 seguidor (es)
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 E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now