Skip to Content
Menu
This question has been flagged
1 Odpoveď
3607 Zobrazenia

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
Zrušiť
Best Answer
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
Zrušiť

<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>

Related Posts Replies Zobrazenia Aktivita
1
apr 23
6438
2
jún 22
3435
1
apr 22
2305
0
feb 22
4602
1
jan 22
2271