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
4658 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
3999
1
sty 20
10631
1
gru 17
5907
3
sty 16
26342
2
lip 25
1712