跳至內容
選單
此問題已被標幟
1 回覆
3604 瀏覽次數

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
6438
2
6月 22
3435
1
4月 22
2304
0
2月 22
4600
1
1月 22
2271