Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1365 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sie 25
554
0
mar 25
1909
0
paź 24
1901
1
wrz 24
1988
1
sie 24
2033