跳至内容
菜单
此问题已终结
1 回复
4065 查看

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



形象
丢弃
最佳答案

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>




形象
丢弃
相关帖文 回复 查看 活动
2
6月 21
3464
1
1月 20
9968
1
12月 17
5254
3
1月 16
25594
2
7月 25
854