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

Hello,


I would like to reduce or even erase the banner in Helpdesk (the one on the top where we can see the stats of the tickets) because I don't need to see those informations very often and they make the teams less readable. Is there a way to do that? I'm on Odoo15

Thanks

形象
丢弃
最佳答案

Hi,

To remove the banner from Helpdesk, you have to inherit the XML kanban view of the "helpdesk.team" model and remove the "js_class" attribute from the kanban tag.

To do that you can try this code:

<record id="your_xml_id" model="ir.ui.view">


   <field name="name">your_xml_name</field>


   <field name="model">helpdesk.team</field>


   <field name="inherit_id" ref="helpdesk.helpdesk_team_view_kanban"/>


   <field name="arch" type="xml">


        <xpath expr="//kanban" position="attributes">


            <attribute name="js_class">0</attribute>


        </xpath>


   </field>


</record>


Regards

形象
丢弃
相关帖文 回复 查看 活动
1
8月 25
643
0
3月 25
2049
0
10月 24
1990
1
9月 24
2102
1
8月 24
2142