콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
3624 화면

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
6445
2
6월 22
3438
1
4월 22
2310
0
2월 22
4602
1
1월 22
2274