Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5 ตอบกลับ
12247 มุมมอง

I have seen https://www.odoo.com/forum/help-1/how-can-i-change-the-odoo-basic-theme-color-v15-ee-203185 which outlines a way to change the color scheme of the NavBar / Menu's from the Odoo Standard.


How would I leverage this approach BUT with different colors PER COMPANY?

อวตาร
ละทิ้ง

This is fantastic, thank you!

คำตอบที่ดีที่สุด

Base your work on this Proof of Concept.

UPDATE: Code in the GIST now supports

  • Odoo 15.0
  • Odoo 16.0
  • Odoo 17.0
  • Odoo 18.0


Given two Companies, USA with ID=1 and CANADA with ID=2, you can achieve this:


Via a Custom View:


Using this code:

https://gist.github.com/ray-odoo/17a1dc72c7f59314ed1592b1a3db7e0c

            
อวตาร
ละทิ้ง

color per company

คำตอบที่ดีที่สุด

Try this module
https://odoo-community.org/shop/web-company-color-4791#attr=18022

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

May be this will helpful: 


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Does anyone know how to do this in version 18?  The code in the gist only changes part of the navbar, and not the buttons and menus.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

https://apps.odoo.com/apps/modules/17.0/ppts_navbar_color


use this app

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ธ.ค. 22
13739
4
มี.ค. 16
7143
2
ก.ค. 25
1987
3
ก.ค. 25
2410
1
ก.ค. 25
1669