Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
5 Ответы
12031 Представления

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
13560
4
мар. 16
7070
2
июл. 25
1798
3
июл. 25
2207
1
июл. 25
1502