跳至内容
菜单
此问题已终结
1 回复
3643 查看

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? 

形象
丢弃
最佳答案
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
形象
丢弃

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

相关帖文 回复 查看 活动
1
4月 23
6462
2
6月 22
3449
1
4月 22
2321
0
2月 22
4609
1
1月 22
2309