Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3614 Visualizzazioni

Hi, I am new to odoo and I want to remove or disable the default website navbar in odoo14 when ever the user logged in.

Does anyone know the solution? 

Avatar
Abbandona
Risposta migliore
Certainly! If you prefer to use code to remove the default Odoo website navbar in Odoo 14, you can do so by creating a custom module and overriding the website template
Avatar
Abbandona

<odoo>
<template id="remove_default_navbar" inherit_id="website.layout" name="Remove Default Navbar">
<xpath expr="//nav[@class='navbar']" position="replace">
<!-- Add any desired custom content here -->
</xpath>
</template>
</odoo>

Post correlati Risposte Visualizzazioni Attività
1
apr 23
6443
2
giu 22
3436
1
apr 22
2305
0
feb 22
4602
1
gen 22
2272