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

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



Awatar
Odrzuć
Najlepsza odpowiedź

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>




Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
cze 21
4004
1
sty 20
10646
1
gru 17
5927
3
sty 16
26346
2
lip 25
1720