Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4059 Lượt xem

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



Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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>




Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 6 21
3462
1
thg 1 20
9967
1
thg 12 17
5252
3
thg 1 16
25593
2
thg 7 25
851