Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4094 Tampilan

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



Avatar
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
2
Jun 21
3473
1
Jan 20
9994
1
Des 17
5302
3
Jan 16
25622
2
Jul 25
889