In Odoo v14, in a setup with multiple companies to facilitate an easy identification which company we are working on is there a way to visually identify and differentiate (e.g. different colors, themes,...) the company we are operating with?
Этот вопрос был отмечен
Hi
You can use the following code for that
<data inherit_id="web.layout">
<xpath expr="//body" position="inside">
<t t-if="request.httprequest.
<style>.o_main_navbar {background: linear-gradient(45deg, #57596F, #57596F);
background-color: #57596F!important;border-
<t t-if="request.httprequest.
<style>.o_main_navbar {background: linear-gradient(45deg, #6B3C3C, #6B3C3C);
background-color: #6B3C3C!important;border-
</xpath>
</data>
OR
Please refer to the OCA Module below
https://odoo-community.org/shop/web-company-color-4791#attr=18022
Hope it helps
Не оставайтесь в стороне – присоединяйтесь к обсуждению!
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
|
1
февр. 26
|
1514 | ||
|
|
1
апр. 25
|
4517 |