Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
5 Odpowiedzi
11904 Widoki

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?

Awatar
Odrzuć

This is fantastic, thank you!

Najlepsza odpowiedź

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

            
Awatar
Odrzuć

color per company

Najlepsza odpowiedź

May be this will helpful: 


Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
gru 22
13457
4
mar 16
6999
2
lip 25
1686
3
lip 25
2100
1
lip 25
1435