Skip to Content
Menú
This question has been flagged
1 Respondre
1366 Vistes

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

Avatar
Descartar
Best Answer

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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
d’ag. 25
571
0
de març 25
1918
0
d’oct. 24
1908
1
de set. 24
1991
1
d’ag. 24
2038