Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
4086 Visualizações

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



Avatar
Cancelar
Melhor resposta

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>




Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
jun. 21
3471
1
jan. 20
9990
1
dez. 17
5276
3
jan. 16
25609
2
jul. 25
881