Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4158 Tampilan

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
Buang
Jawaban Terbai
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
Buang

<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 Terkait Replies Tampilan Aktivitas
1
Apr 23
7224
2
Jun 22
3998
1
Apr 22
2764
0
Feb 22
5023
1
Jan 22
2695