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

I would like to insert my organizations graphic header at the top of the Odoo screen, is this possible?



Аватар
Отменить
Лучший ответ

You can inherit and override the Web Layout View and get some pretty neat effects:


Example View:



< data inherit_id="web.layout">

< xpath expr="//body" position="inside">
     < div>< img src="https://i.imgur.com/0g9YEnF.png" height="77"/>< /div>
     < style>
         .o_main_navbar {
             background-color: #000000;border-bottom: 0px;
          }
         .o_home_menu_background:not(.o_home_menu_background_custom) .o_main_navbar {
             background-color: #000000;border-bottom: 0px;
         }
     < /style>
< /xpath>

< /data>




Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
июн. 21
3462
1
янв. 20
9967
1
дек. 17
5252
3
янв. 16
25593
2
июл. 25
851