I want to change the Menu color (top bar) in Odoo.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
UPDATE: See also https://www.odoo.com/forum/help-1/can-i-have-a-different-theme-color-navbar-for-each-company-v15-ee-203360
You can create this Custom View, which overrides the WEB LAYOUT View:

Code to COPY / PASTE:
data inherit_id="web.layout"
xpath expr="//body" position="inside"
style
.o_main_navbar {background-color: #5a7b87 !important;border-bottom: 0px;}
.o_main_navbar .show .dropdown-toggle {background-color: #5a7b87;}
.o_main_navbar > ul > li > a:hover, .o_main_navbar
> ul > li > label:hover {background-color: #4a666f;}
.o_main_navbar > a:hover, .o_main_navbar > a:focus, .o_main_navbar
> button:hover, .o_main_navbar
> button:focus {background-color: #4a666f;color: inherit;}
.o_main_navbar > a:hover, .o_main_navbar > a:focus, .o_main_navbar
> button:hover, .o_main_navbar
> button:focus {background-color: #4a666f;color: inherit;}
style
xpath
data
Note: you have to add the opening and closing angle brackets to the first 3 and last 3 lines, like in the screenshot.
This gives you a the following color scheme:

You can use the web to find a complimentary dark color / shade to the one you choose:
It did work with Odoo15 but it does not seem to work with Odoo16 anymore.
Any clue on how to do this in Odoo 16?
How can i get there where is the pictures about to edit the code?
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل| المنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
|---|---|---|---|---|
|
|
5
أبريل 25
|
12879 | ||
|
|
1
أكتوبر 25
|
3499 | ||
|
|
4
مارس 16
|
7504 | ||
|
|
2
أكتوبر 25
|
2775 | ||
|
|
1
سبتمبر 25
|
2783 |